summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
78586ac)
Changed files:
rpm-build.sh -> 1.65
# displays latest used tag for a specfile
autotag() {
# displays latest used tag for a specfile
autotag() {
- local out
- for a in "$@"; do
- s=${a%.spec}.spec
+ local out s
+ for s in "$@"; do
+ # strip branches
+ s=${s%:*}
+ # ensure package ends with .spec
+ s=${s%.spec}.spec
out=$(cvs status -v $s | awk "!/Sticky/&&/auto-$dist-/{if (!a++) print \$1}")
echo "$s:$out"
done
out=$(cvs status -v $s | awk "!/Sticky/&&/auto-$dist-/{if (!a++) print \$1}")
echo "$s:$out"
done