]> git.sur5r.net Git - bacula/bacula/commitdiff
Attempt to detar weird files on all systems
authorKern Sibbald <kern@sibbald.com>
Sun, 27 May 2007 11:27:02 +0000 (11:27 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 27 May 2007 11:27:02 +0000 (11:27 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4916 91ce42f0-d328-0410-95d8-f526ca767f89

regress/Makefile.in

index be5940ace07dace9182b95d04cf75534f7ca9bb2..6d8c2505ed6fba337245c7522e77b85ffaeb6ff9 100644 (file)
@@ -26,10 +26,12 @@ setup: bacula sed
 #
 bacula: all
        @rm -rf bin build weird-files tmp
-       (if test x`uname` = xLinux -o x`uname` = xFreeBSD ; then \
-          tar xfz weird-files.tar.gz ;\
-        fi)
-       rm -rf tmp working
+       @rm -f w.tar.gz w.tar
+       @cp weird-files.tar.gz w.tar.gz
+       @-gunzip w.tar.gz
+       @-tar xf w.tar
+       @rm -f w.tar.gz w.tar
+       @rm -rf tmp working
        mkdir tmp working
        echo "Doing: scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS} ${OPENSSL}"
        scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS} ${SMTP_HOST} ${OPENSSL}