diff options
author | ivan <ivan> | 2008-08-15 19:26:07 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-08-15 19:26:07 +0000 |
commit | f4e4b7f1622821007984af8eb63ca865f413e344 (patch) | |
tree | eb2955e8bba6b40cda309c911a585d02fdf75003 /FS/bin | |
parent | 052ebe1ded9859bff023141274edf891e743275a (diff) |
allow a full pathname to be specified to freeside-setup for initial configdir
Diffstat (limited to 'FS/bin')
-rwxr-xr-x | FS/bin/freeside-setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup index d813e76e2..cc6356c7d 100755 --- a/FS/bin/freeside-setup +++ b/FS/bin/freeside-setup @@ -21,7 +21,7 @@ die "Not running uid freeside!" unless checkeuid(); getopts("u:vd:"); my $config_dir = shift || '%%%DIST_CONF%%%' ; -$config_dir =~ /^([\w.:=]+)$/ +$config_dir =~ /^([\w.:=\/]+)$/ or die "unacceptable configuration directory name"; $config_dir = $1; |