Search
j0ke.net Open Build Service
>
Projects
>
server:mail
:
el
>
savget
> savget.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File savget.patch of Package savget
--- savget.orig 2008-07-12 12:41:56.000000000 +0200 +++ savget 2011-11-06 21:14:20.003781051 +0100 @@ -20,10 +20,11 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # ########################### CONFIGURATION ################################### +LANG=C # 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 +89,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