diff options
author | netchild <netchild@FreeBSD.org> | 2007-08-31 00:48:33 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2007-08-31 00:48:33 +0800 |
commit | 657ef87f2b84da4a24f75bd0697dc1158c4e8cd1 (patch) | |
tree | e5ae5691c10db412129ec52b53120294f3b333fc /Tools | |
parent | ad23b1fa0064997e45e9e5cfb6bbe1f28e89f15d (diff) | |
download | freebsd-ports-gnome-657ef87f2b84da4a24f75bd0697dc1158c4e8cd1.tar.gz freebsd-ports-gnome-657ef87f2b84da4a24f75bd0697dc1158c4e8cd1.tar.zst freebsd-ports-gnome-657ef87f2b84da4a24f75bd0697dc1158c4e8cd1.zip |
One more sanity check, else /+CONTENS will be searched.
Diffstat (limited to 'Tools')
-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) |