]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- more bashism fix
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 15 Mar 2010 22:25:26 +0000 (22:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.613

builder.sh

index 679c1a344819692cefab0e048d355837ece8278b..a8dea831f9d09bce98630267eef87ca8b7546e3d 100644 (file)
@@ -755,7 +755,7 @@ find_mirror() {
        local origin mirror name rest ol prefix
        while read origin mirror name rest; do
                # skip comments and empty lines
-               if [ -z "$origin" ] || [[ $origin == \#* ]]; then
+               if [ -z "$origin" ] || [ "${origin#\#}" != "$origin" ]; then
                        continue
                fi
                ol=$(echo -n "$origin" | wc -c)
This page took 0.034201 seconds and 4 git commands to generate.