From: Michael M Slusarz Date: Fri, 19 Nov 2010 18:30:31 +0000 (-0700) Subject: Add framework_bin config option to Release library X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=01e2cf3146595038e6e0a923bb3fd9349c7b2340;p=horde.git Add framework_bin config option to Release library --- 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; }