]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- When NoSourceX-md5 was set, we tried to lookup SourceX in CVS. Don't.
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 28 Mar 2005 21:47:26 +0000 (21:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.309

builder.sh

index d87c0e71ca957eac13f48d4bf20082fd1861ba35..c8bbd8bba03f3a3348a091d2c9cc1743e712b878 100644 (file)
@@ -513,7 +513,7 @@ src_md5 ()
        sed -e 's/^\([0-9a-f]\{32\}\).*/\1/' | \
        grep -E '^[0-9a-f]{32}$')
        if [ X"$md5" = X"" ] ; then
-               grep -i "#[     ]*Source$no-md5[        ]*:" $SPECFILE | sed -e 's/.*://' | xargs
+               grep -i -E "#[  ]*(No)?Source$no-md5[   ]*:" $SPECFILE | sed -e 's/.*://' | xargs
        else
                if [ $(echo "$md5" | wc -l) != 1 ] ; then
                        echo "$SPECFILE: more then one entry in additional-md5sums for $1" 1>&2
This page took 0.041244 seconds and 4 git commands to generate.