summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-11-02 17:21:07 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-11-02 17:21:07 +0000
commitcac5bf7c8bda77a66c87c0fd9fc28c9d326ae630 (patch)
treeb1c15bfedf6398e6251fae160ab215a1ec8fff99 /src/sbin
parent96da11a9b5f22b708a201010949b81b2aaab636a (diff)
downloadbcfg2-cac5bf7c8bda77a66c87c0fd9fc28c9d326ae630.tar.gz
bcfg2-cac5bf7c8bda77a66c87c0fd9fc28c9d326ae630.tar.bz2
bcfg2-cac5bf7c8bda77a66c87c0fd9fc28c9d326ae630.zip
bcfg2-info patch from GP
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3901 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-info4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index 319831e53..db7a11829 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -102,7 +102,7 @@ Usage: [quit|exit]"""
print 'Usage: build <hostname> <output file>'
def do_buildall(self, args):
- if len(args.split()) != 2:
+ if len(args.split()) != 1:
print "Usage: buildall <directory>"
return
try:
@@ -110,7 +110,7 @@ Usage: [quit|exit]"""
except:
pass
for client in self.metadata.clients:
- self.do_build(client, "%s/%s.xml" % (args, client))
+ self.do_build("%s %s/%s.xml" % (client, args, client))
def do_buildfile(self, args):
'''build a config file for client'''