r2579 - jhalfs/trunk/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Apr 27 11:08:21 PDT 2006


Author: manuel
Date: 2006-04-27 12:08:21 -0600 (Thu, 27 Apr 2006)
New Revision: 2579

Modified:
   jhalfs/trunk/common/func_validate_configs.sh
Log:
Fixing a test.

Modified: jhalfs/trunk/common/func_validate_configs.sh
===================================================================
--- jhalfs/trunk/common/func_validate_configs.sh	2006-04-26 20:36:26 UTC (rev 2578)
+++ jhalfs/trunk/common/func_validate_configs.sh	2006-04-27 18:08:21 UTC (rev 2579)
@@ -132,13 +132,15 @@
         RUNMAKE)   validation_str="x0x x1x";          validate_str; continue ;;
         TEST)      validation_str="x0x x1x x2x x3x";  validate_str; continue ;;
         REPORT)    validation_str="x0x x1x";          validate_str;
-            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 ;;
         STRIP)     validation_str="x0x x1x";          validate_str; continue ;;
         VIMLANG)   validation_str="x0x x1x";          validate_str; continue ;;




More information about the alfs-log mailing list