summaryrefslogtreecommitdiffstats
path: root/src/build/tools
diff options
context:
space:
mode:
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