]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
rpmchangelog: use SPECFILE to get accurate link to .spec
authorElan Ruusamäe <glen@delfi.ee>
Wed, 21 Dec 2016 19:09:32 +0000 (21:09 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 21 Dec 2016 19:09:32 +0000 (21:09 +0200)
builder.sh

index 6c22c14ac26933638e5875985fa7f10662bdb9cd..ea97dba746ac8a925396154f08191945328c911e 100755 (executable)
@@ -484,7 +484,7 @@ insert_gitlog() {
        done > $gitlog
 
        # add link to full git logs
-       local giturl="http://git.pld-linux.org/?p=packages/$PACKAGE_NAME.git;a=log"
+       local giturl="http://git.pld-linux.org/?p=packages/${SPECFILE%.spec}.git;a=log"
        if [ -n "$CVSTAG" ]; then
                giturl="$giturl;h=$CVSTAG"
        fi
This page took 0.048243 seconds and 4 git commands to generate.