Index: /issm/trunk-jpl/packagers/mac/complete-issm-mac-binaries-matlab.sh
===================================================================
--- /issm/trunk-jpl/packagers/mac/complete-issm-mac-binaries-matlab.sh	(revision 25888)
+++ /issm/trunk-jpl/packagers/mac/complete-issm-mac-binaries-matlab.sh	(revision 25889)
@@ -70,8 +70,25 @@
 ## Parse options
 #
-if [ $# -gt 1 ]; then
-	echo "Can only use one option at a time"
+# NOTE: Checking if more than three arguments because the first two contain 
+#		the repository credentials
+#
+if [ $# -gt 3 ]; then
+	echo "Can use only one option at a time"
 	exit 1
 fi
+
+# Retrieve repository credentials
+#
+# NOTE: This is not very secure, but better than maintaining the credentials in 
+#		plaintext
+#
+# TODO: Either maintain credentials in a secret file on node, or write out 
+#		crendentials to file in Jenkins 'Execute shell' and source it in each 
+#		script that requires them
+#
+export ISSM_BINARIES_REPO_USER="${1}" # NOTE: This is not very secure, but 
+shift
+export ISSM_BINARIES_REPO_PASS="${1}" # NOTE: This is not very secure
+shift
 
 # NOTE: We could do this with binary switching (i.e. 0011 to sign and transfer, 
Index: /issm/trunk-jpl/packagers/mac/transfer-issm-mac-binaries-matlab.sh
===================================================================
--- /issm/trunk-jpl/packagers/mac/transfer-issm-mac-binaries-matlab.sh	(revision 25888)
+++ /issm/trunk-jpl/packagers/mac/transfer-issm-mac-binaries-matlab.sh	(revision 25889)
@@ -70,8 +70,4 @@
 }
 
-# TEST
-echo "ISSM_BINARIES_REPO_USER: ${ISSM_BINARIES_REPO_USER}"
-echo "ISSM_BINARIES_REPO_PASS: ${ISSM_BINARIES_REPO_PASS}"
-
 # Check if working copy of repository for signed packages is missing
 validate_signed_repo_copy
