commit 820bbd71a881992ef6cbf804bb75d7164cfa4fd7
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Sep 16 13:40:57 2012 +0300

    fix published filename check

 update-source.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/update-source.sh b/update-source.sh
index ae2ef7a..9f1587a 100755
--- a/update-source.sh
+++ b/update-source.sh
@@ -156,7 +156,7 @@ install -d $rpmdir
 
 # if already published?
 if [ "$publish_packages" = 1 ]; then
-       pkg=$rpmdest/$pkg-$version-0.$svnver.$rel.$arch.rpm
+       pkg=$rpmdest/$pkg-$version-${svnver:+0.$svnver.}$release.$arch.rpm
        if [ -f "$pkg" ]; then
                exit 0
        fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/820bbd71a881992ef6cbf804bb75d7164cfa4fd7

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to