357056 - jar files in maintenance repo (3.3.1) appear not "packed"
diff --git a/releng.control/promote.sh b/releng.control/promote.sh
index cd357ce..d5a01f5 100755
--- a/releng.control/promote.sh
+++ b/releng.control/promote.sh
@@ -16,6 +16,56 @@
printf "\n\t\t%s\t%s\n" "-h" "this help message" >&2
}
+# This "print arsgs" funtion is mostly a debugging aide, to help spot mistakes in invocation or command processing.
+# It could be later be changed to only print when in verbose mode, if seems like too much.
+function printargs()
+{
+
+echo "dump of script arguments"
+if [ $verboseFlag ]
+ then
+ echo " verbose output requested"
+ else
+ echo " verbose output NOT requested"
+fi
+
+if [ $deleteOld ]
+ then
+ echo " delete old requested"
+ else
+ echo " delete old NOT requested"
+fi
+
+if [ $doCopy ]
+ then
+ echo " copy requested"
+ else
+ echo " copy NOT requested"
+fi
+
+if [ $sendmail ]
+ then
+ echo " sendmail requested"
+ else
+ echo " sendmail NOT requested"
+fi
+
+if [ $processArtifacts ]
+ then
+ echo " processArtifacts requested"
+ else
+ echo " processArtifacts NOT requested"
+fi
+
+if [ $addProperties ]
+ then
+ echo " addProperties requested"
+ else
+ echo " addProperties NOT requested"
+fi
+
+}
+
# see https://bugs.eclipse.org/bugs/show_bug.cgi?id=348028
# for why mx might have to be so large as 1G
# and this must be set early, since other's might read in commonVariations.shsource
@@ -62,6 +112,8 @@
shift $(($OPTIND - 1))
+printargs
+
# check we have at least the project name
if [ -z $projectname ]
@@ -313,3 +365,5 @@
done
fi
+
+printargs