summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2008-11-25 21:34:43 -0500
committerTodd Zullinger <tmz@pobox.com>2008-11-25 21:34:43 -0500
commit8f5d289ecbaa8ee9f251c98813d9f00b438c1f82 (patch)
treedb46616b800124e8d7f43c772007e764e08cb565
parente66e238b5b0c180dac0cd33d08db37e495b30efa (diff)
downloadpuppet-host-package-8f5d289ecbaa8ee9f251c98813d9f00b438c1f82.tar.gz
puppet-host-package-8f5d289ecbaa8ee9f251c98813d9f00b438c1f82.tar.xz
puppet-host-package-8f5d289ecbaa8ee9f251c98813d9f00b438c1f82.zip
Make rpmdir default to the current directory
-rwxr-xr-xpuppethost.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppethost.py b/puppethost.py
index 40bb7e6..79a28f9 100755
--- a/puppethost.py
+++ b/puppethost.py
@@ -20,7 +20,7 @@ defaults = {
'force_tarball': False,
'force_package': False,
'release': '1',
- 'rpmdir': os.environ['HOME'],
+ 'rpmdir': os.path.abspath(os.curdir),
'ssldir': ssldir,
'template': '%s/template.spec' % ssldir,
}