|
@@ -1,5 +1,5 @@
--- savget.orig 2008-07-12 12:41:56.000000000 +0200
-+++ savget 2008-07-12 12:44:36.000000000 +0200
++++ savget 2008-10-13 21:45:13.000000000 +0200
@@ -23,7 +23,7 @@
# Set this to the directory SAVI's vdl.dat is located. If you change this,
@@ -14,7 +14,7 @@
IDEURL="http://www.sophos.com/downloads/ide"
SAVURL="http://downloads.sophos.com/sophos/products/full"
-SAVZIP=$(/usr/local/bin/sweep -v | gawk '/^Product version / { print gensub("\\.","","",$4) }' | sed -e 's/[A-Za-z]//g')_ides.zip
-+SAVZIP=$(/usr/bin/sweep -v | gawk '/^Product version / { print gensub("\\.","","",$4) }' | sed -e 's/[A-Za-z]//g')_ides.zip
++SAVZIP=$(/usr/bin/sweep -v | gawk '/^Product version / { print gensub("\\.","","",$4) }' | gawk -F. '{print $1}' | sed -e 's/[A-Za-z]//g')_ides.zip
TMPFILE=$TMP/.savget-$USER-$$-$RANDOM
# Simple function to parse the command line options
|