summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-13 09:54:38 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-13 09:54:38 +0000
commit44b43d1a51a1cfb7b17325a84b305b3e31bfb02f (patch)
tree736d172274f61633aa117fbb2c820869a0002cbe
parent71054299a0673b1712cbac01346a867e6730cb2a (diff)
centos support.
-rwxr-xr-xcdist3
1 files changed, 2 insertions, 1 deletions
diff --git a/cdist b/cdist
index e9bf3e3..89fbc67 100755
--- a/cdist
+++ b/cdist
@@ -456,6 +456,7 @@ class SourceTarget(Target):
# windows-{32,64}
# or ubuntu-version-{32,64}
# or debian-version-{32,64}
+# or centos-version-{32,64}
# or osx-{32,64}
# or source
# @param debug True to build with debugging symbols (where possible)
@@ -463,7 +464,7 @@ def target_factory(s, debug, work):
target = None
if s.startswith('windows-'):
target = WindowsTarget(int(s.split('-')[1]), work)
- elif s.startswith('ubuntu-') or s.startswith('debian-'):
+ elif s.startswith('ubuntu-') or s.startswith('debian-') or s.startswith('centos-'):
p = s.split('-')
if len(p) != 3:
print >>sys.stderr,"Bad Linux target name `%s'; must be something like ubuntu-12.04-32 (i.e. distro-version-bits)" % s