allow a full pathname to be specified to freeside-setup for initial configdir
[freeside.git] / FS / bin / freeside-setup
index d813e76..cc6356c 100755 (executable)
@@ -21,7 +21,7 @@ die "Not running uid freeside!" unless checkeuid();
 
 getopts("u:vd:");
 my $config_dir = shift || '%%%DIST_CONF%%%' ;
 
 getopts("u:vd:");
 my $config_dir = shift || '%%%DIST_CONF%%%' ;
-$config_dir =~ /^([\w.:=]+)$/
+$config_dir =~ /^([\w.:=\/]+)$/
   or die "unacceptable configuration directory name";
 $config_dir = $1;
 
   or die "unacceptable configuration directory name";
 $config_dir = $1;