aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/dependencies_check3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/dependencies_check b/scripts/dependencies_check
index 375512b..b14c093 100644
--- a/scripts/dependencies_check
+++ b/scripts/dependencies_check
@@ -10,8 +10,7 @@ dependencies_check()
for depfile in "$@"; do
if [[ -e "$depfile" ]]; then
- deps="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "${BASE_DIR}/depends")"
-
+ deps=$(sed -f "${SCRIPT_DIR}/remove-comments.sed" "$depfile")
fi
for dep in $deps; do
if ! hash "${dep%:*}" 2>/dev/null; then