Lines Matching refs:tmp
58 tmp=
59 for d in "$GROFF_TMPDIR" "$TMPDIR" "$TMP" "$TEMP" /tmp; do
62 tmp=`(umask 077 && mktemp -d -q "$d/grap2graph-XXXXXX") 2> /dev/null` \
63 && test -n "$tmp" && test -d "$tmp" \
66 tmp=$d/grap2graph$$-$RANDOM
67 (umask 077 && mkdir $tmp) 2> /dev/null && break
69 if test -z "$tmp"; then
74 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 2 15
82 convert -trim -crop 0x0 $convert_opts - $tmp/grap2graph.$format \
83 && cat $tmp/grap2graph.$format