|
@@ -73,22 +73,29 @@ fw_depends() {
|
|
|
wd=$(pwd)
|
|
|
relative_wd=\$FWROOT${wd#$FWROOT}
|
|
|
|
|
|
+ # Turn on bash tracing before sourcing installer files to
|
|
|
+ # print commands before they run
|
|
|
if [ -f $FWROOT/toolset/setup/linux/systools/${depend}.sh ]; then
|
|
|
echo Installing system tool: $depend in $relative_wd
|
|
|
+ set -x
|
|
|
. $FWROOT/toolset/setup/linux/systools/${depend}.sh
|
|
|
elif [ -f $FWROOT/toolset/setup/linux/languages/${depend}.sh ]; then
|
|
|
echo Installing language: $depend in $relative_wd
|
|
|
+ set -x
|
|
|
. $FWROOT/toolset/setup/linux/languages/${depend}.sh
|
|
|
elif [ -f $FWROOT/toolset/setup/linux/webservers/${depend}.sh ]; then
|
|
|
echo Installing webserver: $depend in $relative_wd
|
|
|
+ set -x
|
|
|
. $FWROOT/toolset/setup/linux/webservers/${depend}.sh
|
|
|
elif [ -f $FWROOT/toolset/setup/linux/frameworks/${depend}.sh ]; then
|
|
|
echo Installing framework: $depend in $relative_wd
|
|
|
+ set -x
|
|
|
. $FWROOT/toolset/setup/linux/frameworks/${depend}.sh
|
|
|
else
|
|
|
echo WARN: No installer found for $depend
|
|
|
continue
|
|
|
fi
|
|
|
+ set +x
|
|
|
|
|
|
# For a sourced script to pass, all internal commands must return
|
|
|
# non-zero. If you want to intentionally cause a failed install
|