summaryrefslogtreecommitdiffstats
path: root/src/build/tools
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2016-07-18 16:43:57 -0500
committerStephen M. Cprek <smcprek@us.ibm.com>2016-07-18 18:09:57 -0400
commitdf8d3c782aecd0a28333cb7c6a04bc6b2307a62a (patch)
tree1dc0bf6ac28292f78449bae134ee2c756ae63188 /src/build/tools
parentf2921db8ffcf4284ab8efbd181420c2cf54935a3 (diff)
downloadtalos-hostboot-df8d3c782aecd0a28333cb7c6a04bc6b2307a62a.tar.gz
talos-hostboot-df8d3c782aecd0a28333cb7c6a04bc6b2307a62a.zip
Add better hbDistribute debug
Change-Id: Icf4ebede040c0a60ff20815f676abb4bca9ec0b5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27161 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Diffstat (limited to 'src/build/tools')
-rwxr-xr-xsrc/build/tools/hbDistribute13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/build/tools/hbDistribute b/src/build/tools/hbDistribute
index 83937bea1..094e0c117 100755
--- a/src/build/tools/hbDistribute
+++ b/src/build/tools/hbDistribute
@@ -99,23 +99,28 @@ do
esac
done
+echo "target dir"
+echo "sbroot=${SANDBOXROOT} sbname=${SANDBOXNAME}"
# Verify target directory or default to sandbox.
if [ "${TARGET_DIR}" == "invalid directory" ]; then
if [ -z "${SANDBOXROOT}" -o -z "${SANDBOXNAME}" ]; then
- echo "ERROR: No path specified and \$SANDBOXBASE undefined."
+ echo "ERROR TARGET_DIR: No path specified and \$SANDBOXBASE undefined."
print_usage
- exit
+ exit -1
else
TARGET_DIR=${SANDBOXROOT}/${SANDBOXNAME}/src/hbfw
fi
fi
+
+echo "sbfw dir"
+echo "sbroot=${SANDBOXROOT} sbname=${SANDBOXNAME}"
# Verify SBFW directory or default to sandbox.
if [ "${SBFW_DIR}" == "invalid directory" ]; then
if [ -z "${SANDBOXROOT}" -o -z "${SANDBOXNAME}" ]; then
- echo "ERROR: No path specified and \$SANDBOXBASE undefined."
+ echo "ERROR SBFW: No path specified and \$SANDBOXBASE undefined."
print_usage
- exit
+ exit -1
else
SBFW_DIR=${SANDBOXROOT}/${SANDBOXNAME}/src/sbei/sbfw
fi
OpenPOWER on IntegriCloud