]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - builder.sh
rpmchangelog: use SPECFILE to get accurate link to .spec
[packages/rpm-build-tools.git] / 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.034387 seconds and 4 git commands to generate.