[packages/vim] update-source: also reset fractal releases
glen
glen at pld-linux.org
Thu Jan 22 11:48:24 CET 2015
commit 72a626d1ae5349e3951c6b4dc5db20fad94f4302
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jan 22 12:42:28 2015 +0200
update-source: also reset fractal releases
update-source.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/update-source.sh b/update-source.sh
index 9ef41e4..fd3bf65 100755
--- a/update-source.sh
+++ b/update-source.sh
@@ -58,11 +58,11 @@ if [ "$curver" != "$ver" ]; then
fi
sed -i -e "
s/^\(%define[ \t]\+patchlevel[ \t]\+\)[0-9]\+\$/\1$patch/
- s/^\(%define[ \t]\+rel[ \t]\+\)[0-9]\+\$/\11/
+ s/^\(%define[ \t]\+rel[ \t]\+\)[0-9.]\+\$/\11/
" $specfile
- # fetch missing/mismatching files manually. faster than builder does that
- md5sum -c sources 2>/dev/null|awk -F: '$NF != " OK" {print $1}' | while read file; do
+ # fetch missing/mismatching files manually. faster than builder script does that
+ md5sum -c sources 2>/dev/null | awk -F: '$NF != " OK" {print $1}' | while read file; do
echo "$baseurl/$file"
done | wget -nv -i -
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vim.git/commitdiff/9e39b66b73475b7b35c6b6a5f627f5257d325970
More information about the pld-cvs-commit
mailing list