summaryrefslogtreecommitdiff
path: root/modules/WorkspaceCreator.pm
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-02-29 13:36:20 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-02-29 13:36:20 +0000
commitb891092dff45e68f4cf619ca0efe2dcfd0f1e30a (patch)
tree2c0e18cb6634dc81a3fffdb273831edfda0f2e3a /modules/WorkspaceCreator.pm
parentb71c04a97399bf73d9ddb988e240622c7ad87364 (diff)
downloadMPC-b891092dff45e68f4cf619ca0efe2dcfd0f1e30a.tar.gz
Fri Feb 28 13:36:25 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'modules/WorkspaceCreator.pm')
-rw-r--r--modules/WorkspaceCreator.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/WorkspaceCreator.pm b/modules/WorkspaceCreator.pm
index fa5e5a99..b55b7a3e 100644
--- a/modules/WorkspaceCreator.pm
+++ b/modules/WorkspaceCreator.pm
@@ -27,6 +27,7 @@ use vars qw(@ISA);
my($wsext) = 'mwc';
my($wsbase) = 'mwb';
+my($onVMS) = ($^O eq 'VMS');
## Valid names for assignments within a workspace
my(%validNames) = ('cmdline' => 1,
@@ -776,12 +777,20 @@ sub search_for_files {
$self->search_for_files(\@f, $array, $impl);
if ($impl) {
$file =~ s/^\.\///;
+ if ($onVMS) {
+ # Strip out ^ symbols
+ $file =~ s/\^//g;
+ }
unshift(@$array, $file);
}
}
else {
if ($file =~ /\.mpc$/) {
$file =~ s/^\.\///;
+ if ($onVMS) {
+ # Strip out ^ symbols
+ $file =~ s/\^//g;
+ }
unshift(@$array, $file);
}
}