aboutsummaryrefslogtreecommitdiffstats
path: root/fbgs
diff options
context:
space:
mode:
authorkraxel <kraxel>2006-04-10 07:43:01 +0000
committerkraxel <kraxel>2006-04-10 07:43:01 +0000
commitc224e1f486a7100c7933a6e35e988a853496168d (patch)
tree4f2aa46434382cca82492b5cbb26cd1d4b312198 /fbgs
parent9583914ba076818ce50dbce10cce990649742952 (diff)
downloadfbida-c224e1f486a7100c7933a6e35e988a853496168d.tar.gz
autoscale first, misc fixes
Diffstat (limited to 'fbgs')
-rwxr-xr-xfbgs4
1 files changed, 2 insertions, 2 deletions
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