selftest: allow a prefix under /m/username/
[bbaumbach/samba-autobuild/.git] / selftest / selftest.pl
index 6ea21fa6bfeab3fdcce5edc7e46ced371fc8ed5f..3bb0c212667ae1735601d0d636f33d9866abf96f 100755 (executable)
@@ -281,7 +281,7 @@ my $bindir_abs = abs_path($bindir);
 my $torture_maxtime = ($ENV{TORTURE_MAXTIME} or 1200);
 
 $prefix =~ s+//+/+;
-$prefix =~ s+/./+/+;
+$prefix =~ s+/\./+/+;
 $prefix =~ s+/$++;
 
 die("using an empty prefix isn't allowed") unless $prefix ne "";