SOURCES: rpm-build.sh - autotag: work without .spec extension
glen
glen at pld-linux.org
Sat Dec 9 16:15:10 CET 2006
Author: glen Date: Sat Dec 9 15:15:10 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- autotag: work without .spec extension
---- Files affected:
SOURCES:
rpm-build.sh (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SOURCES/rpm-build.sh
diff -u SOURCES/rpm-build.sh:1.10 SOURCES/rpm-build.sh:1.11
--- SOURCES/rpm-build.sh:1.10 Sat Dec 9 13:44:50 2006
+++ SOURCES/rpm-build.sh Sat Dec 9 16:15:05 2006
@@ -62,8 +62,9 @@
autotag() {
local out
for a in "$@"; do
- out=$(cvs status -v $a | awk '/auto-ac-/{if (!a++) print $1}')
- echo "$a:$out"
+ s=${a%.spec}.spec
+ out=$(cvs status -v $s | awk '/auto-ac-/{if (!a++) print $1}')
+ echo "$s:$out"
done
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/rpm-build.sh?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list