Lines Matching refs:tmp
72 tmp=
73 for d in "$GROFF_TMPDIR" "$TMPDIR" "$TMP" "$TEMP" /tmp; do
76 tmp=`(umask 077 && mktemp -d -q "$d/pic2graph-XXXXXX") 2> /dev/null` \
77 && test -n "$tmp" && test -d "$tmp" \
80 tmp=$d/pic2graph$$-$RANDOM
81 (umask 077 && mkdir $tmp) 2> /dev/null \
84 if test -z "$tmp"; then
89 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 2 15
97 groff -e -p $groffpic_opts -Tps -P-pletter > $tmp/pic2graph.ps \
98 && convert -trim -crop 0x0 $convert_opts $tmp/pic2graph.ps $tmp/pic2graph.$format \
99 && cat $tmp/pic2graph.$format