From c224e1f486a7100c7933a6e35e988a853496168d Mon Sep 17 00:00:00 2001 From: kraxel Date: Mon, 10 Apr 2006 07:43:01 +0000 Subject: autoscale first, misc fixes --- fbgs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fbgs') diff --git a/fbgs b/fbgs index bbb6444..7f4a9ac 100755 --- a/fbgs +++ b/fbgs @@ -1,8 +1,8 @@ #!/bin/bash # tmp dir -DIR="${TMPDIR-/var/tmp}/fbps-$$" -mkdir -p $DIR || exit 1 +DIR="$(mktemp -dtp ${TMPDIR-/var/tmp} fbgs-XXXXXX)" +test -d "$DIR" || exit 1 trap "rm -rf $DIR" EXIT # parse options -- cgit