Compensate for OpenSuSE bash 'feature'

This commit is contained in:
Tom Eastep 2009-08-11 08:43:54 -07:00
parent 5cb9ff0009
commit f056faa6c4
2 changed files with 2 additions and 16 deletions

View File

@ -185,14 +185,7 @@ done
[ -n "$STAGEXML" ] && base="$base shorewall-docs-xml-${1}.tar.*" && files="$files shorewall-docs-xml-${1}.*"
[ -n "$STAGEHTML" ] && base="$base shorewall-docs-html-${1}.tar.*" && files="$files shorewall-docs-html-${1}.*"
rpms=$(
for f in $files; do
case $f in
*.rpm)
echo $f
;;
esac
done)
rpms=`for f in $files; do case $f in *.rpm) echo $f;; *);; esac done`
[ -n "$rpms" ] && rpm --resign $rpms

View File

@ -185,14 +185,7 @@ done
[ -n "$UPLOADXML" ] && base="$base shorewall-docs-xml-${1}.tar.*" && files="$files shorewall-docs-xml-${1}.*"
[ -n "$UPLOADHTML" ] && base="$base shorewall-docs-html-${1}.tar.*" && files="$files shorewall-docs-html-${1}.*"
rpms=$(
for f in $files; do
case $f in
*.rpm)
echo $f
;;
esac
done)
rpms=`for f in $files; do case $f in *.rpm) echo $f;; *);; esac done`
[ -n "$rpms" ] && rpm --resign $rpms