[packages/apache-mod_pagespeed] match numeric tags to exclude bogus tag 'fake_release_to_test_some_scripts'
glen
glen at pld-linux.org
Sat Mar 2 00:51:37 CET 2013
commit 365e19f8124e6d7ec3c7db25a75dccf2ba99197d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Mar 2 01:50:59 2013 +0200
match numeric tags to exclude bogus tag 'fake_release_to_test_some_scripts'
get-source.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/get-source.sh b/get-source.sh
index ffa44e1..b39e0aa 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -30,7 +30,7 @@ fi
if [ -z "$version" ]; then
echo "Looking for latest version..."
- version=$(svn ls $baseurl/tags/ | sort -V | tail -n1)
+ version=$(svn ls $baseurl/tags/ | grep '^[0-9]' | sort -V | tail -n1)
version=${version%/}
fi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_pagespeed.git/commitdiff/365e19f8124e6d7ec3c7db25a75dccf2ba99197d
More information about the pld-cvs-commit
mailing list