Fixed usage of 7z in ats_specialise_test_drop.pl
authorThomasE
Mon, 27 Jul 2009 11:55:36 +0100
changeset 279 6aa713519d4e
parent 278 48931850b6e8
child 280 3325cb7e4c37
Fixed usage of 7z in ats_specialise_test_drop.pl
common/tools/ats/ats_specialise_test_drop.pl
--- a/common/tools/ats/ats_specialise_test_drop.pl	Mon Jul 27 10:28:48 2009 +0100
+++ b/common/tools/ats/ats_specialise_test_drop.pl	Mon Jul 27 11:55:36 2009 +0100
@@ -96,7 +96,7 @@
         $zipper = "zip -m $destfile.zip test.xml";
         $unzipper = "unzip -o $srcfile $xml_in -d .";
     }
-    elsif (!silent_command("7z -version")) { # Else see if we've got 7zip
+    elsif (!silent_command("7z -h")) { # Else see if we've got 7zip
         $zipper = "7z u $destfile.zip test.xml";
         $unzipper = "7z e $srcfile $xml_in";
     }