]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- fixed typo in SourceX-size support
authorArtur Frysiak <artur@frysiak.net>
Sun, 10 Oct 2004 14:07:40 +0000 (14:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.278

builder.sh

index ef967302f1a8080c5482c1e861bf525efec2d56a..80c29c4c54490f2d7be9022af4acc5bbe72f1b26 100644 (file)
@@ -657,7 +657,7 @@ get_files()
                        then
                                echo "Updating source-$srcno md5."
                                md5=$(md5sum `nourl $i` | cut -f1 -d' ')
-                               size=$(find $(nourl "$1") -printf "%s" 2>/dev/null)
+                               size=$(find $(nourl "$i") -printf "%s" 2>/dev/null)
                                perl -i -ne '
                                print unless /^\s*#\s*Source'$srcno'-(md5|size)\s*:/i;
                                print "# Source'$srcno'-md5:\t'$md5'\n# Source'$srcno'-size:\t'$size'\n"
This page took 0.040339 seconds and 4 git commands to generate.