forked from extern/shorewall_code
Compensate for OpenSuSE bash 'feature'
This commit is contained in:
parent
5cb9ff0009
commit
f056faa6c4
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user