From b41c95426da461ae0cfcd9f835e5f5ed0111b612 Mon Sep 17 00:00:00 2001 From: "T. Joseph Carter" Date: Wed, 14 Sep 2016 02:57:11 -0700 Subject: [PATCH] dependencies_check: Use comment removal script --- scripts/dependencies_check | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/dependencies_check b/scripts/dependencies_check index 269ebd0..eba13d8 100644 --- a/scripts/dependencies_check +++ b/scripts/dependencies_check @@ -10,7 +10,8 @@ dependencies_check() for depfile in "$@"; do if [[ -e "$depfile" ]]; then - deps=`cat ${BASE_DIR}/depends | tr '\n' ' '` + deps="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < ${BASE_DIR}/depends" + fi for dep in $deps; do if ! hash ${dep%:*} 2>/dev/null; then