* fix: make dest_dir work with env_update

This commit is contained in:
Eray Özkural
2005-10-15 11:03:25 +00:00
parent f6cc6f984a
commit e51491de89
+5 -4
View File
@@ -485,11 +485,12 @@ def env_update():
f.write("export %s=\"%s\"\n" % (key, keys[key])) f.write("export %s=\"%s\"\n" % (key, keys[key]))
f.close() f.close()
# generate ld.co.conf # generate ld.so.conf
f = open(ldconf_file, "w") f = open(ldconf_file, "w")
for path in keys["LDPATH"].split(":"): if keys.has_key("LDPATH"):
f.write("%s\n" % path) for path in keys["LDPATH"].split(":"):
f.write("%s\n" % path)
f.close() f.close()
# run ldconfig # run ldconfig
run_batch("/sbin/ldconfig -X -r /") run_batch("/sbin/ldconfig -X -r %s" % ctx.config.dest_dir())