aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2007-08-30 16:48:33 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2007-08-30 16:48:33 +0000
commit5c2c9f05ad6dc75e42c748e90edf89e64babc701 (patch)
tree321bc82bc069d62eb34bec79168f75e51f571255 /Tools
parent142947601fcf11a773a6fa6516732356a3902779 (diff)
downloadports-5c2c9f05ad6dc75e42c748e90edf89e64babc701.tar.gz
ports-5c2c9f05ad6dc75e42c748e90edf89e64babc701.zip
One more sanity check, else /+CONTENS will be searched.
Notes
Notes: svn path=/head/; revision=198542
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/explicit_lib_depends.sh5
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)