summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-repo-validate
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-08-26 02:08:27 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-08-26 02:08:27 +0000
commit9a36f84770afbe1aa2ba73c8149e9b3aa8c940d7 (patch)
tree4714c1130f4eae8010d88d8f8c725da401c5c2e7 /src/sbin/bcfg2-repo-validate
parentc5920aeab60e1cd9ad794bf3e8340fb46be772eb (diff)
downloadbcfg2-9a36f84770afbe1aa2ba73c8149e9b3aa8c940d7.tar.gz
bcfg2-9a36f84770afbe1aa2ba73c8149e9b3aa8c940d7.tar.bz2
bcfg2-9a36f84770afbe1aa2ba73c8149e9b3aa8c940d7.zip
Add a chdir to work around odd libxml2 bug on freebsd
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2118 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin/bcfg2-repo-validate')
-rw-r--r--src/sbin/bcfg2-repo-validate1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sbin/bcfg2-repo-validate b/src/sbin/bcfg2-repo-validate
index c0bca6ef0..df6c3442d 100644
--- a/src/sbin/bcfg2-repo-validate
+++ b/src/sbin/bcfg2-repo-validate
@@ -23,6 +23,7 @@ if __name__ == '__main__':
if verbose:
print "Using installation prefix %s" % (prefix)
schemadir = "%s/share/bcfg2/schemas" % (prefix)
+ os.chdir(schemadir)
try:
repo = cf.get('server', 'repository')