summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/output.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm
index 309a027947..b1edf02c94 100644
--- a/source4/build/smb_build/output.pm
+++ b/source4/build/smb_build/output.pm
@@ -19,8 +19,7 @@ sub add_dir($$)
foreach (@$files) {
$_ = "$dir/$_";
- s/\/\//\//g;
- s/\/([^\/\.]+)\/\.\.\//\//g;
+ s/([^\/\.]+)\/\.\.\///g;
push (@ret, $_);
}