From 01e2cf3146595038e6e0a923bb3fd9349c7b2340 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 19 Nov 2010 11:30:31 -0700 Subject: [PATCH] Add framework_bin config option to Release library --- framework/Release/lib/Horde/Release.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/framework/Release/lib/Horde/Release.php b/framework/Release/lib/Horde/Release.php index 08741249e..c48f08008 100644 --- a/framework/Release/lib/Horde/Release.php +++ b/framework/Release/lib/Horde/Release.php @@ -463,8 +463,13 @@ class Horde_Release if ($status) { die("\nThere was an error running the command\n$cmd\n"); } + + $bin_path = isset($this->_options['framework_bin']) + ? rtrim($this->_options['framework_bin'], '/') . '/' + : ''; + print "Installing framework packages\n"; - passthru("install_framework --copy --src ./$directory/framework --horde /tmp --dest ./$directory/lib", $result); + passthru($bin_path . "install_framework --copy --src ./$directory/framework --horde /tmp --dest ./$directory/lib", $result); if ($result) { exit; } -- 2.11.0