Index: /issm/trunk-jpl/jenkins/jenkins.sh
===================================================================
--- /issm/trunk-jpl/jenkins/jenkins.sh	(revision 21116)
+++ /issm/trunk-jpl/jenkins/jenkins.sh	(revision 21117)
@@ -333,5 +333,5 @@
 		# Some of the examples are incomplete (on purpose). As such, we will have to populate the
 		# missing steps in order to make sure that everything is working.
-			echo "Testing directory example: $(basename dir)"
+			echo "Testing directory example: $(basename $dir)"
 
 			# Greenland is missing step 8
@@ -357,5 +357,5 @@
 				./Download.sh
 			else
-				LOG_FILE="matlab_log_$(basename dir)_examples.log"
+				LOG_FILE="matlab_log_$(basename $dir)_examples.log"
 				echo "disp('SUCCESS');" >> $FILE
 				echo 'catch me' >> $FILE
@@ -366,5 +366,5 @@
 
 				$MATLAB_PATH/bin/matlab -nosplash -nodisplay -r "addpath $ISSM_DIR/src/m/dev; devpath; addpath $ISSM_DIR/nightlylog/; runme" -logfile $ISSM_DIR/nightlylog/$LOG_FILE
-				echo "starting: $(basename dir)" >> $ISSM_DIR/nightlylog/matlab_log_examples.log
+				echo "starting: $(basename $dir)" >> $ISSM_DIR/nightlylog/matlab_log_examples.log
 				cat $ISSM_DIR/nightlylog/$LOG_FILE >> $ISSM_DIR/nightlylog/matlab_log_examples.log
 			fi
