mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 01:37:59 +02:00
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() {
|
usage() {
|
||||||
echo "Usage: stage [-pclsxh] <version>"
|
echo "Usage: stage [-pclsxh] <version>"
|
||||||
|
}
|
||||||
|
|
||||||
rpm=
|
rpm=
|
||||||
literpm=
|
literpm=
|
||||||
@ -81,9 +82,9 @@ while [ -z "$done" ]; do
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
done=Yes
|
done=Yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
@ -96,7 +97,7 @@ case $1 in
|
|||||||
shellrpm=shorewall-shell-${1%-*}-0${1#*-}.noarch.rpm
|
shellrpm=shorewall-shell-${1%-*}-0${1#*-}.noarch.rpm
|
||||||
;;
|
;;
|
||||||
4.0.*-*)
|
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
|
SHOREWALL=shorewall-common
|
||||||
;;
|
;;
|
||||||
4.0.*)
|
4.0.*)
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "Usage: upload [-pclsxh] <version>"
|
echo "Usage: upload [-pclsxh] <version>"
|
||||||
|
}
|
||||||
|
|
||||||
rpm=
|
rpm=
|
||||||
literpm=
|
literpm=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user