From: ivan Date: Fri, 15 Aug 2008 19:26:07 +0000 (+0000) Subject: allow a full pathname to be specified to freeside-setup for initial configdir X-Git-Tag: root_of_webpay_support~432 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=f4e4b7f1622821007984af8eb63ca865f413e344 allow a full pathname to be specified to freeside-setup for initial configdir --- 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;