From: Elan Ruusamäe Date: Wed, 23 Jan 2008 18:20:21 +0000 (+0000) Subject: - ignore Sticky tag, etc lines for autotag() X-Git-Tag: auto/th/rpm-build-tools-4.5-7~51^2~31 X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm-build-tools.git;a=commitdiff_plain;h=0d7f593970744e4f78572b63b4d5efbed7d290a4 - ignore Sticky tag, etc lines for autotag() Changed files: rpm-build.sh -> 1.41 --- diff --git a/rpm-build.sh b/rpm-build.sh index 208281b..3632efb 100644 --- a/rpm-build.sh +++ b/rpm-build.sh @@ -64,7 +64,7 @@ autotag() { local out for a in "$@"; do s=${a%.spec}.spec - out=$(cvs status -v $s | awk "/auto-$dist-/{if (!a++) print \$1}") + out=$(cvs status -v $s | awk "!/Sticky/&&/auto-$dist-/{if (!a++) print \$1}") echo "$s:$out" done }