Changeset 3a27393 for common/func_validate_configs.sh
- Timestamp:
- 05/16/2006 06:27:02 PM (18 years ago)
- Branches:
- experimental
- Children:
- 25b52e2
- Parents:
- d68d2c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/func_validate_configs.sh
rd68d2c1 r3a27393 170 170 # This is a tricky little piece of code.. executes a cmd string. 171 171 case $config_param in 172 BUILDDIR) # We cannot have an <empty> or </> root mount point173 echo -e "`eval echo $PARAM_VALS`"174 [[ "xx x/x" =~ "x${!config_param}x" ]] &&175 write_error_and_die176 ;;177 172 TIMEZONE) echo -e "`eval echo $PARAM_VALS`" ;; 178 173 … … 228 223 # warning -z+ -w+ 229 224 SRC_ARCHIVE) validate_dir -z+ -d -w+ ;; 225 BUILDDIR) # The build directory/partition MUST exist and be writable by the user 226 validate_dir -z -d -w 227 [[ "xx x/x" =~ "x${!config_param}x" ]] && 228 write_error_and_die 229 ;; 230 230 231 231 # Validate files, testable states:
Note:
See TracChangeset
for help on using the changeset viewer.