r2918 - jhalfs/trunk/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri Aug 11 11:36:47 PDT 2006


Author: manuel
Date: 2006-08-11 12:36:47 -0600 (Fri, 11 Aug 2006)
New Revision: 2918

Modified:
   jhalfs/trunk/common/func_validate_configs.sh
Log:
Don't validate SRC_ARCHIVE if GETPKG=0

Modified: jhalfs/trunk/common/func_validate_configs.sh
===================================================================
--- jhalfs/trunk/common/func_validate_configs.sh	2006-08-11 18:24:34 UTC (rev 2917)
+++ jhalfs/trunk/common/func_validate_configs.sh	2006-08-11 18:36:47 UTC (rev 2918)
@@ -232,7 +232,7 @@
       # Validate directories, testable states:
       #  fatal   -z -d -w,
       #  warning -z+   -w+
-      SRC_ARCHIVE) validate_dir -z+ -d -w+ ;;
+      SRC_ARCHIVE) [[ "$GETPKG" = "1" ]] && validate_dir -z+ -d -w+ ;;
       BUILDDIR)   # The build directory/partition MUST exist and be writable by the user
                   validate_dir -z -d -w
                   [[ "xx x/x" =~ "x${!config_param}x" ]] &&




More information about the alfs-log mailing list