r2580 - jhalfs/branches/experimental/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Apr 27 11:09:07 PDT 2006


Author: manuel
Date: 2006-04-27 12:09:07 -0600 (Thu, 27 Apr 2006)
New Revision: 2580

Modified:
   jhalfs/branches/experimental/common/func_validate_configs.sh
Log:
Ported r2579 from trunk.

Modified: jhalfs/branches/experimental/common/func_validate_configs.sh
===================================================================
--- jhalfs/branches/experimental/common/func_validate_configs.sh	2006-04-27 18:08:21 UTC (rev 2579)
+++ jhalfs/branches/experimental/common/func_validate_configs.sh	2006-04-27 18:09:07 UTC (rev 2580)
@@ -182,13 +182,15 @@
       HPKG)       validate_against_str "x0x x1x" ;;
       RUNMAKE)    validate_against_str "x0x x1x" ;;
       REPORT)     validate_against_str "x0x x1x"
-                  if [[ "${!config_param}" = "1" ]] && [[ `type -p bc` ]]; then
-                    continue
-                  else
-                    echo -e "  ${BOLD}The bc binary was not found${OFF}"
-                    echo -e "  The SBU and disk usage report creation will be skiped"
-                    REPORT=0
-                    continue
+                  if [[ "${!config_param}" = "1" ]]; then
+                    if [[ `type -p bc` ]]; then
+                      continue
+                    else
+                      echo -e "  ${BOLD}The bc binary was not found${OFF}"
+                      echo -e "  The SBU and disk usage report creation will be skiped"
+                      REPORT=0
+                      continue
+                    fi
                   fi ;;
       COMPARE)    if [[ ! "$COMPARE" = "1" ]]; then
                     validate_against_str "x0x x1x"




More information about the alfs-log mailing list