1#!/bin/sh
2
3if [ -x /usr/bin/mktemp ]
4then
5  TMPFILE=`mktemp -t open-url.XXXXXX`
6else
7  DTTMPDIR=`xrdb -query | grep DtTmpDir`
8  TMPFILE=${DTTMPDIR:-$HOME/.dt/tmp}/open-url.$$
9fi
10
11if [ -z "$TMPFILE" ]; then exit 1; fi
12( echo "$1" > "$TMPFILE"; dtaction Open "$TMPFILE"; rm -f "$TMPFILE" ) &
13exit 0
14