From 980158cf30d016ff0dce11f7f33fca5de3b8be74 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 27 May 2007 11:27:02 +0000 Subject: [PATCH] Attempt to detar weird files on all systems git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4916 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/Makefile.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/regress/Makefile.in b/regress/Makefile.in index be5940ace0..6d8c2505ed 100644 --- a/regress/Makefile.in +++ b/regress/Makefile.in @@ -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} -- 2.39.5