From b04277711938e3a2d695d3db3db3f6ddc1c2f788 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 17 May 2007 17:58:21 +0000 Subject: [PATCH] Fix bug in stage/upload scripts git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6392 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- tools/build/stage | 2 +- tools/build/upload | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build/stage b/tools/build/stage index 40b6fb010..2b8e59c9f 100755 --- a/tools/build/stage +++ b/tools/build/stage @@ -10,7 +10,7 @@ DEST="webadmin@mail.shorewall.net:/srv/ftp/pub/shorewall/development/staging//sh case $1 in 4.*Beta*|4.*RC*) DEST="webadmin@mail.shorewall.net:/srv/ftp/pub/shorewall/development/staging/${1%.*}/shorewall-$1" - rpm=shorewall-${1%-*}-0{1#*-}.noarch.rpm + rpm=shorewall-${1%-*}-0${1#*-}.noarch.rpm literpm=shorewall-lite-${1%-*}-0${1#*-}.noarch.rpm perlrpm=shorewall-perl-${1%-*}-0${1#*-}.noarch.rpm shellrpm=shorewall-shell-${1%-*}-0${1#*-}.noarch.rpm diff --git a/tools/build/upload b/tools/build/upload index 048baa629..4080a6d66 100755 --- a/tools/build/upload +++ b/tools/build/upload @@ -8,7 +8,7 @@ shellrpm= case $1 in 4.*Beta*|4.*RC*) DEST="webadmin@mail.shorewall.net:/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1" - rpm=shorewall-${1%-*}-0{1#*-}.noarch.rpm + rpm=shorewall-${1%-*}-0${1#*-}.noarch.rpm literpm=shorewall-lite-${1%-*}-0${1#*-}.noarch.rpm perlrpm=shorewall-perl-${1%-*}-0${1#*-}.noarch.rpm shellrpm=shorewall-shell-${1%-*}-0${1#*-}.noarch.rpm