summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2002-07-10 12:23:10 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2002-07-10 12:23:10 +0000
commitdec3c998e37434461a99f982bb6064f2af9a3beb (patch)
tree60a25bad38879e2dccc5c797233acbe37ec585e8
parentd2c018ab380e38d4350f67e61f26e608395cd88a (diff)
downloadATCD-dec3c998e37434461a99f982bb6064f2af9a3beb.tar.gz
ChangeLogTag: Wed Jul 10 07:22:24 2002 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLogs/ChangeLog-03a7
-rw-r--r--bin/MakeProjectCreator/modules/TemplateParser.pm3
3 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 317fa48950b..b65181c211c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Wed Jul 10 07:22:24 2002 Chad Elliott <elliott_c@ociweb.com>
+
+ * bin/MakeProjectCreator/modules/TemplateParser.pm:
+
+ If the project creator needs the slashes converted, then
+ do so when generating relative paths.
+
Tue Jul 9 23:24:44 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/rules.local.GNU:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 317fa48950b..b65181c211c 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,10 @@
+Wed Jul 10 07:22:24 2002 Chad Elliott <elliott_c@ociweb.com>
+
+ * bin/MakeProjectCreator/modules/TemplateParser.pm:
+
+ If the project creator needs the slashes converted, then
+ do so when generating relative paths.
+
Tue Jul 9 23:24:44 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/rules.local.GNU:
diff --git a/bin/MakeProjectCreator/modules/TemplateParser.pm b/bin/MakeProjectCreator/modules/TemplateParser.pm
index f7560f8aea1..8bdac504980 100644
--- a/bin/MakeProjectCreator/modules/TemplateParser.pm
+++ b/bin/MakeProjectCreator/modules/TemplateParser.pm
@@ -209,6 +209,9 @@ sub relative {
}
$val = "../" x $count;
$val =~ s/\/$//;
+ if ($self->{'prjc'}->convert_slashes()) {
+ $val =~ s/\//\\/g;
+ }
$value =~ s/\$\([^)]+\)/$val/;
}
}