]> Kevux Git Server - fll/commitdiff
Update: ignore comment lines when processing package dependencies
authorKevin Day <thekevinday@gmail.com>
Sat, 13 Jun 2020 23:27:07 +0000 (18:27 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 13 Jun 2020 23:27:07 +0000 (18:27 -0500)
build/scripts/package.sh

index d82aa8df2800ae66329e7d0f4cf9bba6977c0bc5..b07c332f8fde4015c4d868656b2f3e23426ae555 100644 (file)
@@ -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