dependencies_check: Use comment removal script
This commit is contained in:
parent
d1b1b770b4
commit
b41c95426d
|
@ -10,7 +10,8 @@ dependencies_check()
|
||||||
|
|
||||||
for depfile in "$@"; do
|
for depfile in "$@"; do
|
||||||
if [[ -e "$depfile" ]]; then
|
if [[ -e "$depfile" ]]; then
|
||||||
deps=`cat ${BASE_DIR}/depends | tr '\n' ' '`
|
deps="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < ${BASE_DIR}/depends"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
for dep in $deps; do
|
for dep in $deps; do
|
||||||
if ! hash ${dep%:*} 2>/dev/null; then
|
if ! hash ${dep%:*} 2>/dev/null; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user