SPECS: pearize.sh - set -e workarounds
glen
glen at pld-linux.org
Tue Dec 13 12:02:53 CET 2005
Author: glen Date: Tue Dec 13 11:02:53 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- set -e workarounds
---- Files affected:
SPECS:
pearize.sh (1.31 -> 1.32)
---- Diffs:
================================================================
Index: SPECS/pearize.sh
diff -u SPECS/pearize.sh:1.31 SPECS/pearize.sh:1.32
--- SPECS/pearize.sh:1.31 Tue Dec 13 11:38:15 2005
+++ SPECS/pearize.sh Tue Dec 13 12:02:47 2005
@@ -115,7 +115,7 @@
done
done
fi
-has_opt=$(egrep -c '^Optional-(pkg|ext):' $template)
+has_opt=$(egrep -c '^Optional-(pkg|ext):' $template || :)
if [ "$has_opt" -gt 0 ]; then
if ! grep -q optional-packages.txt $spec; then
sed -i -e '
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pearize.sh?r1=1.31&r2=1.32&f=u
More information about the pld-cvs-commit
mailing list