From: Martin Langhoff <mar...@laptop.org>

The oob_config_dir variable is specially useful in making
custom scripts more portable. Make it available at last.

---
(This was intended to be part of the original oob_config_dir
implementation. My apologies.)
---
 .../kspost.75.nochroot.custom_scripts.sh           |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/custom_scripts/kspost.75.nochroot.custom_scripts.sh 
b/modules/custom_scripts/kspost.75.nochroot.custom_scripts.sh
index 637c8f3..a9b81a0 100644
--- a/modules/custom_scripts/kspost.75.nochroot.custom_scripts.sh
+++ b/modules/custom_scripts/kspost.75.nochroot.custom_scripts.sh
@@ -9,6 +9,7 @@ for line in $(env); do
        [[ "${line:0:34}" == "CFG_custom_scripts__custom_script_" ]] || continue
        script=${line#*=}
        echo "echo 'Executing custom script $script'"
+       echo "export oob_config_dir=\"$oob_config_dir\""
        echo "[ -x \"$script\" ] && \"$script\" || bash \"$script\""
 done
 IFS=$oIFS
-- 
1.6.2.5

_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to