forked from extern/shorewall_code
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:
parent
5497ef89a7
commit
d6a159b283
@ -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.*)
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
usage() {
|
||||
echo "Usage: upload [-pclsxh] <version>"
|
||||
}
|
||||
|
||||
rpm=
|
||||
literpm=
|
||||
|
Loading…
Reference in New Issue
Block a user