]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- fixed nosource, more strict regex
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 20 Jan 2006 23:46:53 +0000 (23:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.395

builder.sh

index 04a5a09cebd3fa23f45312e72dcd46807a4e9295..072e79918fc617f1b4fccb3b4af29287decab7b8 100644 (file)
@@ -374,10 +374,10 @@ EOF
 
        # make small dump cache
        rpm_dump_cache=`echo "$rpm_dump" | awk '
-               /SOURCEURL[0-9]+/ {print}
-               /PATCHURL[0-9]+/  {print}
-               /:.*nosource.*1"/ {print}
-               /PACKAGE_/ {print}
+               $2 ~ /^SOURCEURL/ {print}
+               $2 ~ /^PATCHURL/  {print}
+               $2 ~ /^nosource/ {print}
+               $2 ~ /^PACKAGE_/ {print}
        '`
 
        update_shell_title "cache_rpm_dump: OK!"
This page took 0.053365 seconds and 4 git commands to generate.