cdist fix.
authorCarl Hetherington <cth@carlh.net>
Mon, 4 Aug 2014 17:52:31 +0000 (18:52 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 4 Aug 2014 17:52:31 +0000 (18:52 +0100)
cscript

diff --git a/cscript b/cscript
index 48b24f3ef8d1bae789c031ec595cdb42592a2686..6d15bc99f865938869e0d24169cb2f105684e827 100644 (file)
--- a/cscript
+++ b/cscript
@@ -224,7 +224,7 @@ def package_centos(target, cpu, version):
     os.makedirs('%s/rpmbuild/SRPMS' % target.directory)
 
     f = open(os.path.expanduser('~/.rpmmacros'), 'w')
-    print >>f,os.path.expanduser("%_topdir ~/srpmbuild")
+    print >>f,os.path.expanduser("%_topdir ~/rpmbuild")
     f.close()
 
     target.command('./waf dist')