From: Kevin Day Date: Sat, 13 Jun 2020 23:27:07 +0000 (-0500) Subject: Update: ignore comment lines when processing package dependencies X-Git-Tag: 0.5.0~159 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=cbe3f8959cb7c696424ed348cf9a80defbc2ad30;p=fll Update: ignore comment lines when processing package dependencies --- diff --git a/build/scripts/package.sh b/build/scripts/package.sh index d82aa8d..b07c332 100644 --- a/build/scripts/package.sh +++ b/build/scripts/package.sh @@ -510,7 +510,9 @@ package_dependencies_individual() { individual_dependencies= for dependency in $dependencies ; do - if [[ $(echo "$dependency" | grep -o "^f_") != "" ]] ; then + if [[ $(echo "$dependency" | grep -o "^\s*#") != "" ]] ; then + continue + elif [[ $(echo "$dependency" | grep -o "^f_") != "" ]] ; then level=level_0 elif [[ $(echo "$dependency" | grep -o "^fl_") != "" ]] ; then level=level_1