summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-19 23:22:57 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-19 23:22:57 +0000
commit6e1286016d9e4aca87415ddb4266e26db1d32af9 (patch)
tree88783ea4d34ee6dd768ca37ee615717082d47c25
parentdc175a023bf6761d7a9015d83ea4678d60ebc3db (diff)
downloadbcfg2-6e1286016d9e4aca87415ddb4266e26db1d32af9.tar.gz
bcfg2-6e1286016d9e4aca87415ddb4266e26db1d32af9.tar.bz2
bcfg2-6e1286016d9e4aca87415ddb4266e26db1d32af9.zip
EncapPackages: Some platforms need PYTHONPATH set even though proper .pth files exist and sys.path shows that they exist in a path Python should know about. No clue why.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3510 ce84e21b-d406-0410-9b95-82705330c041
-rwxr-xr-xencap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2.sh b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2.sh
index 6a4230159..ea819b01a 100755
--- a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2.sh
+++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2.sh
@@ -9,7 +9,8 @@ umask 002
exec 2>&1
PATH=/usr/local/lib/bcfg2/bin:/usr/local/bin:/usr/bin:/bin
-export PATH
+PYTHONPATH="/usr/local/lib/bcfg2/lib/python2.4:/usr/local/lib/bcfg2/lib/python2.4/site-packages:/usr/local/lib/bcfg2/lib/python2.4/site-packages/Bcfg2"
+export PATH PYTHONPATH
LOGDIR="/usr/local/var/svlogd/bcfg2-client-ostiary"
test -d $LOGDIR || mkdir $LOGDIR