diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2007-08-30 16:48:33 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2007-08-30 16:48:33 +0000 |
commit | 5c2c9f05ad6dc75e42c748e90edf89e64babc701 (patch) | |
tree | 321bc82bc069d62eb34bec79168f75e51f571255 /Tools/scripts | |
parent | 142947601fcf11a773a6fa6516732356a3902779 (diff) | |
download | ports-5c2c9f05ad6dc75e42c748e90edf89e64babc701.tar.gz ports-5c2c9f05ad6dc75e42c748e90edf89e64babc701.zip |
Notes
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/explicit_lib_depends.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/scripts/explicit_lib_depends.sh b/Tools/scripts/explicit_lib_depends.sh index f281b45a79ae..afd8e289ccd7 100755 --- a/Tools/scripts/explicit_lib_depends.sh +++ b/Tools/scripts/explicit_lib_depends.sh @@ -92,6 +92,11 @@ for i in $@; do fi fi + if [ ! -f ${current_port}/+CONTENTS ]; then + echo $i is not a valid port + continue + fi + myorigin=$(awk -F : '/@comment ORIGIN:/ {print $2}' \ ${current_port}/+CONTENTS) |