Modify stage and upload to only upload tar.bz2 to base/

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7877 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-12-08 22:31:06 +00:00
parent 2e15eccbe3
commit 56bd3add8a
2 changed files with 18 additions and 16 deletions

View File

@ -185,15 +185,16 @@ else
DEST=${USER}:${DEST} DEST=${USER}:${DEST}
fi fi
[ -n "$UPLOADPERL" ] && files="$files shorewall-perl-${1}.* $perlrpm" files="errata known_problems.txt releasenotes.txt patch-$1 ${1}.*"
[ -n "$UPLOADCOMMON" ] && files="$files shorewall-common-${1}.* $rpm" base=
[ -n "$UPLOADSHELL" ] && files="$files shorewall-shell-${1}.* $shellrpm"
[ -n "$UPLOADLITE" ] && files="$files shorewall-lite-${1}.* $literpm"
[ -n "$UPLOADXML" ] && files="$files shorewall-docs-xml-${1}.* $literpm"
[ -n "$UPLOADHTML" ] && files="$files shorewall-docs-html-${1}.* $literpm"
[ -n "$BASE" ] && $COMMAND $files $DEST/base [ -n "$UPLOADPERL" ] && base="shorewall-perl-${1}.tar.*" && files="$files shorewall-perl-${1}. $perlrpm"
[ -n "$UPLOADCOMMON" ] && base="$base shorewall-common-${1}.tar.*" && files="$files shorewall-common-${1}.* $rpm"
[ -n "$UPLOADSHELL" ] && base="$base shorewall-shell-${1}.tar.*" && files="$files shorewall-shell-${1}.* $shellrpm"
[ -n "$UPLOADLITE" ] && base="$base shorewall-lite-${1}.tar.*" && files="$files shorewall-lite-${1}.* $literpm"
[ -n "$UPLOADXML" ] && base="$base shorewall-docs-xml-${1}.tar.*" && files="$files shorewall-docs-xml-${1}.* $literpm"
[ -n "$UPLOADHTML" ] && base="$base shorewall-docs-html-${1}.tar.*" && files="$files shorewall-docs-html-${1}.* $literpm"
files="errata known_problems.txt releasenotes.txt patch-$1 ${1}.* $files" [ -n "$BASE" ] && $COMMAND $base $DEST/base
$COMMAND -r $files $DEST $COMMAND -r $files $DEST

View File

@ -189,15 +189,16 @@ else
DEST=${USER}:${DEST} DEST=${USER}:${DEST}
fi fi
[ -n "$UPLOADPERL" ] && files="$files shorewall-perl-${1}.* $perlrpm" files="errata known_problems.txt releasenotes.txt patch-$1 ${1}.*"
[ -n "$UPLOADCOMMON" ] && files="$files shorewall-common-${1}.* $rpm" base=
[ -n "$UPLOADSHELL" ] && files="$files shorewall-shell-${1}.* $shellrpm"
[ -n "$UPLOADLITE" ] && files="$files shorewall-lite-${1}.* $literpm"
[ -n "$UPLOADXML" ] && files="$files shorewall-docs-xml-${1}.* $literpm"
[ -n "$UPLOADHTML" ] && files="$files shorewall-docs-html-${1}.* $literpm"
[ -n "$BASE" ] && $COMMAND $files $DEST/base [ -n "$UPLOADPERL" ] && base="shorewall-perl-${1}.tar.*" && files="$files shorewall-perl-${1}. $perlrpm"
[ -n "$UPLOADCOMMON" ] && base="$base shorewall-common-${1}.tar.*" && files="$files shorewall-common-${1}.* $rpm"
[ -n "$UPLOADSHELL" ] && base="$base shorewall-shell-${1}.tar.*" && files="$files shorewall-shell-${1}.* $shellrpm"
[ -n "$UPLOADLITE" ] && base="$base shorewall-lite-${1}.tar.*" && files="$files shorewall-lite-${1}.* $literpm"
[ -n "$UPLOADXML" ] && base="$base shorewall-docs-xml-${1}.tar.*" && files="$files shorewall-docs-xml-${1}.* $literpm"
[ -n "$UPLOADHTML" ] && base="$base shorewall-docs-html-${1}.tar.*" && files="$files shorewall-docs-html-${1}.* $literpm"
files="errata known_problems.txt releasenotes.txt patch-$1 ${1}.* $files" [ -n "$BASE" ] && $COMMAND $base $DEST/base
$COMMAND -r $files $DEST $COMMAND -r $files $DEST