aboutsummaryrefslogtreecommitdiff
path: root/scripts/flxextract
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2006-07-16 14:53:22 +0200
committerWilly Tarreau <willy@wtap.(none)>2006-07-26 11:51:23 +0200
commit1df9e6131e7cc4a501a627b763dd18ce1f8a38ab (patch)
tree38638a90198864c61564783154f456bf71f68c98 /scripts/flxextract
parent[RELEASE] flxutils-0.1.11.2 (diff)
downloadflxutils-1df9e6131e7cc4a501a627b763dd18ce1f8a38ab.tar.xz
[RELEASE] flxutils-0.1.11.3v0.1.11.3
Diffstat (limited to '')
-rwxr-xr-xscripts/flxextract12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/flxextract b/scripts/flxextract
index dae9650..e4aa4ee 100755
--- a/scripts/flxextract
+++ b/scripts/flxextract
@@ -1,4 +1,12 @@
#!/bin/bash
+#
+# flxextract - package extracter - version 0.0.2 - 2003-06-16
+# This file is part of the Formilux project : http://formilux.ant-computing.com/
+#
+# Copyright (C) 2001-2003 Benoit Dolez & Willy Tarreau
+# mailto: benoit@ant-computing.com,willy@ant-computing.com
+#
+# This program is licenced under GPLv2 ( http://www.gnu.org/licenses/gpl.txt )
function main {
local file packages pack pkgsrc
@@ -103,13 +111,13 @@ fi
# par défaut, ROOTDIR est fonction de la date
DATE=$(date +%Y%m%d-%H%M%S)
-ROOTDIR=${ROOTDIR:-/tmp/package-$DATE}
+ROOTDIR=${ROOTDIR:-/tmp/package-$DATE-$$}
#if [ -e $ROOTDIR ] ; then
# echo "Error : directory $ROOTDIR already exists."
# exit 1
#fi
-LOGFILE=${LOGFILE:-/tmp/package-$DATE.log}
+LOGFILE=${LOGFILE:-/tmp/package-$DATE-$$.log}
if [ -e $LOGFILE ] ; then
echo "Error : log file $LOGFILE exists."
exit 0