thefer...@users.sourceforge.net writes:

> @@ -89,14 +195,13 @@
>       # check for badly set RUNPATHs. sigh.
>       # Note that need to escape one /, so that it does not
>       #trigger check if checking its own package
> -     badpaths="[/]export/medusa [/]opt/build [/]export/home [/]usr/share 
> [/]usr/local"
> +        badpaths="[/]export/medusa [/]opt/build [/]export/home [/]usr/share 
> [/]usr/local"
> +     unset badstrings
>       for badpath in $badpaths ; do
>               GREP=/bin/grep gzgrep "$badpath" $f
>               if [[ $? -eq 0 ]] ; then
> -                     print ""
> -                     print ERROR: build-machine paths found in file $f
> -                     print "($badpath found)"
> -                     exit 1
> +                     errmsg "bad path strings found in file $f ($badpath)"
> +                     badstrings=yes
>               fi
>       done
>  esac

Nice. Thanks.
-- 
Peter
_______________________________________________
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel

Reply via email to