Fix a couple of bugs

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7754 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-11-24 20:41:01 +00:00
parent 5497ef89a7
commit d6a159b283
2 changed files with 5 additions and 3 deletions

View File

@ -2,6 +2,7 @@
usage() {
echo "Usage: stage [-pclsxh] <version>"
}
rpm=
literpm=
@ -81,9 +82,9 @@ while [ -z "$done" ]; do
;;
*)
done=Yes
;;
;;
esac
done
done
case $1 in
@ -96,7 +97,7 @@ case $1 in
shellrpm=shorewall-shell-${1%-*}-0${1#*-}.noarch.rpm
;;
4.0.*-*)
DEST="/srv/ftp/pub/shorewall/development/staging/${1%.*}/shorewall-${1%-*}"
DEST="/srv/ftp/pub/shorewall/development/staging/${1%.*}/shorewall-${1}"
SHOREWALL=shorewall-common
;;
4.0.*)

View File

@ -2,6 +2,7 @@
usage() {
echo "Usage: upload [-pclsxh] <version>"
}
rpm=
literpm=