One more sanity check, else /+CONTENS will be searched.
This commit is contained in:
parent
142947601f
commit
5c2c9f05ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198542
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue