Added more comments to Dependencies, fixed removing them in build

This commit is contained in:
Rick Falkvinge
2019-02-18 13:40:12 +01:00
parent 42c642184e
commit 07fcf994d3
4 changed files with 104 additions and 80 deletions
@@ -41,9 +41,9 @@ do
DEPENDENCIES=$(cat dependencies/$PACKAGE-default | tr -d ' \r')
fi
# remove comments and roll up multiline to singleline in Dependencies field
DEPENDENCIES=$(echo ${DEPENDENCIES} | grep -v '^$\|^\s*\#' | tr -d '\n')
echo "Dependencies: $DEPENDENCIES"
# escape newlines in Dependencies file
DEPENDENCIES=$(echo ${DEPENDENCIES} | tr '\n' "\n\\")
# read -p "Press [Enter] key to make control backup..."