summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mk/Scripts/depends-list.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/Scripts/depends-list.sh b/Mk/Scripts/depends-list.sh
index 6c3e03c33288..ab724b58ab1e 100644
--- a/Mk/Scripts/depends-list.sh
+++ b/Mk/Scripts/depends-list.sh
@@ -76,7 +76,7 @@ check_dep() {
;;
esac
if [ -f ${d}/Makefile ]; then
- if [ -n $f ]; then
+ if [ -n "$f" ]; then
export FLAVOR=$f
fi
break
@@ -91,9 +91,9 @@ check_dep() {
fi
case " ${checked} " in
- *\ ${d}\ *) continue ;; # Already checked
+ *\ ${port_display}\ *) continue ;; # Already checked
esac
- checked="${checked} ${d}"
+ checked="${checked} ${port_display}"
# Check if the dependency actually exists or skip otherwise.
if [ ! -d "${d}" ]; then
echo "${dp_PKGNAME}: \"${port_display}\" non-existent -- dependency list incomplete" >&2