protect against premature test failure corrupting config, remove debug code
This commit is contained in:
parent
dda9a68353
commit
336cb209fd
2 changed files with 8 additions and 5 deletions
|
|
@ -84,7 +84,6 @@ BEGIN {
|
|||
unless ( File::Spec->file_name_is_absolute($WEBGUI_ROOT) ) {
|
||||
$WEBGUI_ROOT = File::Spec->rel2abs($WEBGUI_ROOT);
|
||||
}
|
||||
warn $WEBGUI_ROOT."\n";
|
||||
|
||||
$CONFIG_FILE = ( File::Spec->splitpath( $WEBGUI_ROOT ) )[2];
|
||||
$WEBGUI_ROOT = substr( $WEBGUI_ROOT, 0, index( $WEBGUI_ROOT, File::Spec->catdir( 'etc', $CONFIG_FILE ) ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue