diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-08-26 02:08:27 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-08-26 02:08:27 +0000 |
commit | 9a36f84770afbe1aa2ba73c8149e9b3aa8c940d7 (patch) | |
tree | 4714c1130f4eae8010d88d8f8c725da401c5c2e7 /src/sbin/bcfg2-repo-validate | |
parent | c5920aeab60e1cd9ad794bf3e8340fb46be772eb (diff) | |
download | bcfg2-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-validate | 1 |
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') |