]> Kevux Git Server - fll/commitdiff
Update: only print depedencies list in verbose mode
authorKevin Day <thekevinday@gmail.com>
Fri, 12 Jun 2020 03:10:12 +0000 (22:10 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 12 Jun 2020 03:10:12 +0000 (22:10 -0500)
build/scripts/package.sh

index 8cec64833dbf721adbfc0faa42dbaa24e5958a95..d82aa8df2800ae66329e7d0f4cf9bba6977c0bc5 100644 (file)
@@ -493,6 +493,7 @@ package_dependencies_individual() {
       failure=1
       return
     fi
+
     if [[ ! -f ${directory}/data/build/settings ]] ; then
       if [[ $verbosity != "quiet" ]] ; then
         echo -e "${c_error}ERROR: cannot build dependencies for $c_reset$c_notice${name}$c_reset${c_error}, failed to find $c_notice${directory}/data/build/settings$c_error.$c_reset"
@@ -606,7 +607,7 @@ package_dependencies_individual() {
 
     individual_dependencies=$(echo "$individual_dependencies" | sed -e 's|^[[:space:]]*||' -e 's|[[:space:]]*$||')
     if [[ $individual_dependencies != "" ]] ; then
-      if [[ $verbosity != "quiet" ]] ; then
+      if [[ $verbosity == "verbose" ]] ; then
         echo -e " $individual_dependencies"
       fi