summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS.txt2
-rw-r--r--pyramid/scripts/pcreate.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 4ac88fc15..e1af0aab1 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -149,6 +149,8 @@ Contributors
- Manuel Hermann, 2011/07/11
+- Richard Barrell, 2011/11/07
+
- Chris Shenton, 2011/11/07
- Ken Manheimer, 2011/11/07
diff --git a/pyramid/scripts/pcreate.py b/pyramid/scripts/pcreate.py
index 20e531956..f559e4f17 100644
--- a/pyramid/scripts/pcreate.py
+++ b/pyramid/scripts/pcreate.py
@@ -66,7 +66,7 @@ class PCreateCommand(object):
options = self.options
args = self.args
project_name = os.path.basename(args[0])
- output_dir = os.path.normpath(args[0])
+ output_dir = os.path.abspath(os.path.normpath(args[0]))
pkg_name = _bad_chars_re.sub('', project_name.lower())
safe_name = pkg_resources.safe_name(project_name)
egg_name = pkg_resources.to_filename(safe_name)