summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-02-10 12:51:42 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-02-10 12:51:42 +0000
commitc4b4dc9abf25790d5e12ce4d139ea46c03667129 (patch)
tree6d582876445935ba25fd8e38843e94c0fa6adbee
parent141ac73daeb75a6292051aa6288ef39fe9e0f08b (diff)
downloadMPC-c4b4dc9abf25790d5e12ce4d139ea46c03667129.tar.gz
ChangeLogTag: Fri Feb 10 06:36:59 2006 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--ChangeLog5
-rw-r--r--modules/ProjectCreator.pm2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f4f1e1f5..2c03758a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@ Fri Feb 10 06:36:59 2006 Chad Elliott <elliott_c@ociweb.com>
Fixed a bug where a -exclude argument with a comma in it would not
be split.
+ * modules/ProjectCreator.pm:
+
+ Reverted a change that affected the way files were listed in
+ templates when gendir = . was used.
+
* templates/ghs.mpd:
* templates/ghscommon.mpt:
diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm
index 36a44c0d..ca009bc3 100644
--- a/modules/ProjectCreator.pm
+++ b/modules/ProjectCreator.pm
@@ -2820,7 +2820,7 @@ sub prepend_gendir {
if (defined $dir) {
## Convert the file to unix style for basename
$created =~ s/\\/\//g;
- return ($dir eq '.' ? '' : "$dir/") . basename($created);
+ return "$dir/" . basename($created);
}
}
}