Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18644
Modified Files: clamav.info Log Message: Fix install script to make it work with /bin/sh -ev Index: clamav.info =================================================================== RCS file: /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/utils/clamav.info,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- clamav.info 15 Dec 2005 04:07:51 -0000 1.7 +++ clamav.info 19 Dec 2005 12:02:17 -0000 1.8 @@ -114,17 +114,23 @@ # run tests echo; echo "*** TESTING %n:"; - %b/clamscan/clamscan --unrar --database=%b/database %b/test/clam-error.rar; result1="$?"; echo "test result 1: ${result1}"; + ( %b/clamscan/clamscan --unrar --database=%b/database %b/test/clam-error.rar; ) + result1="$?"; echo "test result 1: ${result1}"; echo "Done test 1"; echo; - %b/clamscan/clamscan --database=%b/database %b/test/clam.rar; result2="$?"; echo "test result 2: ${result2}"; + ( %b/clamscan/clamscan --database=%b/database %b/test/clam.rar; ) + result2="$?"; echo "test result 2: ${result2}"; echo "Done test 2"; echo; - %b/clamscan/clamscan --database=%b/database %b/test/clam.exe; result3="$?"; echo "test result 3: ${result3}"; + ( %b/clamscan/clamscan --database=%b/database %b/test/clam.exe; ) + result3="$?"; echo "test result 3: ${result3}"; echo "Done test 3"; echo; - %b/clamscan/clamscan --database=%b/database %b/test/clam.exe.bz2; result4="$?"; echo "test result 4: ${result4}"; + ( %b/clamscan/clamscan --database=%b/database %b/test/clam.exe.bz2; ) + result4="$?"; echo "test result 4: ${result4}"; echo "Done test 4"; echo; - %b/clamscan/clamscan --database=%b/database %b/test/clam.zip; result5="$?"; echo "test result 5: ${result5}"; + ( %b/clamscan/clamscan --database=%b/database %b/test/clam.zip; ) + result5="$?"; echo "test result 5: ${result5}"; echo "Done test 5"; echo; - %b/clamscan/clamscan --database=%b/database %b/test/clam.cab; result6="$?"; echo "test result 6: ${result6}"; + ( %b/clamscan/clamscan --database=%b/database %b/test/clam.cab; ) + result6="$?"; echo "test result 6: ${result6}"; echo "Done test 6"; echo; if [ $result1 == "1" ] && [ $result2 == "1" ] && [ $result3 == "1" ] && [ $result4 == "1" ] && [ $result5 == "1" ] && [ $result6 == "1" ]; then echo "virus scan tests passed!" ; ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits