SPECS: relup.sh - allow specname without extension passed as argument
glen
glen at pld-linux.org
Thu Oct 19 16:57:44 CEST 2006
Author: glen Date: Thu Oct 19 14:57:44 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- allow specname without extension passed as argument
---- Files affected:
SPECS:
relup.sh (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/relup.sh
diff -u SPECS/relup.sh:1.7 SPECS/relup.sh:1.8
--- SPECS/relup.sh:1.7 Thu Sep 28 00:06:35 2006
+++ SPECS/relup.sh Thu Oct 19 16:57:39 2006
@@ -31,6 +31,7 @@
tmpd=$(mktemp -d "${TMPDIR:-/tmp}/relXXXXXX")
for spec in "$@"; do
+ spec=${spec%.spec}.spec
rel=$(get_release "$spec")
echo "$spec" >> "$tmpd/$rel"
done
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/relup.sh?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list