aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--afm-test.native.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/afm-test.native.sh b/afm-test.native.sh
index a80fdf2..bd1f8a2 100644
--- a/afm-test.native.sh
+++ b/afm-test.native.sh
@@ -64,6 +64,10 @@ do
key="$1"
case $key in
+ -d|--debug)
+ DEBUGOUTPUT="TRUE"
+ shift # past argument
+ ;;
-l|--lavaoutput)
LAVAOUTPUT="TRUE"
shift # past argument
@@ -86,6 +90,11 @@ esac
done
set -- "${POSITIONAL[@]}" # restore positional parameters
+if [ "${DEBUGOUTPUT}" = "TRUE" ]
+then
+ set -x
+fi
+
if [ "$1" ] && [ "$2" ]
then
SERVICEPACKAGEDIR="$(readlink -f $1)"