From afb072c594c1f3cb3519cb295fe0244b9e5361fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 8 Mar 2011 11:53:46 +0000 Subject: [PATCH] - different msg if prefix was added Changed files: percona.sh -> 1.12 --- percona.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/percona.sh b/percona.sh index f66f2b3..ef15c59 100644 --- a/percona.sh +++ b/percona.sh @@ -43,7 +43,11 @@ for patch in $(cat $version/series | filter_names); do ${branch:+cvs up -r $branch $file} fi - echo >&2 "Adding: $patch" + if [ "$patch" != "$file" ]; then + echo >&2 "Adding: $file ($patch)" + else + echo >&2 "Adding: $file" + fi printf "Patch%d:\t%s\n" $i $(echo "$file" | sed -e 's,^mysql-,%{name}-,') >> .percona.spec printf "%%patch%d -p1\n" $i >> .patch.spec i=$((i+1)) -- 2.44.0