]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- report postfix only when actually done
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 5 Oct 2010 10:33:45 +0000 (10:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pldnotify.awk -> 1.93

pldnotify.awk

index 3d0756d6b822bfbed2c91fcccf29fbe432f634da..9a01bcb9465525eef11e04091a7554a4eeb2deb7 100644 (file)
@@ -181,13 +181,15 @@ function mktemp(   _cmd, _tmpfile) {
 }
 
 # fix link to artificial one that will be recognized rest of this script
-function postfix_link(url, link) {
+function postfix_link(url, link,   oldlink) {
        oldlink = link
        if ((url ~/^(http|https):\/\/github.com\//) && (link ~ /.*\/tarball\//)) {
                gsub(".*\/tarball\/", "", link)
                link = link ".tar.gz"
        }
-       d("POST FIXING URL [ " oldlink " ] to [ " link " ]")
+       if (oldlink != link) {
+               d("POST FIXED URL [ " oldlink " ] to [ " link " ]")
+       }
        return link
 }
 
This page took 0.07322 seconds and 4 git commands to generate.