X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=configure.pl;h=433a0168c23e4f28f6ee3b71c2119b29fb9561ec;hp=f2a475b84ff8b61f0e3adaff6b08cf0bf87e5219;hb=refs%2Ftags%2Fv3_0_0beta1;hpb=e6fc5dc667cbf97c374da04c55d24e4ea83ec865 diff --git a/configure.pl b/configure.pl index f2a475b..433a016 100755 --- a/configure.pl +++ b/configure.pl @@ -87,6 +87,7 @@ if ( !GetOptions( "cgi-dir=s", "compress-level=i", "config-path=s", + "config-dir=s", "data-dir=s", "dest-dir=s", "fhs!", @@ -95,6 +96,7 @@ if ( !GetOptions( "html-dir=s", "html-dir-url=s", "install-dir=s", + "log-dir=s", "man", "set-perms!", "uid-ignore!", @@ -105,6 +107,7 @@ pod2usage(1) if ( $opts{help} ); pod2usage(-exitstatus => 0, -verbose => 2) if $opts{man}; my $DestDir = $opts{"dest-dir"}; +$DestDir = "" if ( $DestDir eq "/" ); if ( !$opts{"uid-ignore"} && $< != 0 ) { print <