summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-07-25 14:04:04 +0200
committerJan Holesovsky <kendy@suse.cz>2012-07-25 14:06:00 +0200
commit8429bd67715a33751f4cfd50cb4be0346d78ee65 (patch)
treeb812ca416943ef0f14e384a303237ae10b30f0fc /solenv
parent0714d191e7273c3b32837834f9a37867b81cb78a (diff)
Make the relativisation of the path working even on Linux.
Change-Id: Ib5e617d83d12c9c1faefee7f4a768e1eb1ffc492
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/windows/msiglobal.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/windows/msiglobal.pm b/solenv/bin/modules/installer/windows/msiglobal.pm
index 946f816ed738..30fe34860e39 100644
--- a/solenv/bin/modules/installer/windows/msiglobal.pm
+++ b/solenv/bin/modules/installer/windows/msiglobal.pm
@@ -130,7 +130,7 @@ sub make_relative_ddf_path
}
$sourcepath =~ s/\Q$windowstemppath\E//;
- $sourcepath =~ s/^\\//;
+ $sourcepath =~ s/^[\\\/]//;
return $sourcepath;
}