Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
savget
> savget.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File savget.patch of Package savget (Revision 5)
Currently displaying revision
5
,
show latest
--- savget.orig 2008-07-12 12:41:56.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, # make sure you leave off the last /. The default is /usr/local/sav. -SAVDIR="/usr/local/sav" +SAVDIR="%SAVDIR%" # Run quietly all the time? If so, set this to 'true' QUIET=false @@ -88,7 +88,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) }' | 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