Index: /issm/trunk-jpl/jenkins/jenkins.sh
===================================================================
--- /issm/trunk-jpl/jenkins/jenkins.sh	(revision 21178)
+++ /issm/trunk-jpl/jenkins/jenkins.sh	(revision 21179)
@@ -133,5 +133,5 @@
 
 	#install if requested or if previous install has not been successful
-	if [ "$ISSM_EXTERNALPACKAGES" == "yes" ] || [ ! "$(ls -A $DIR)" ]; then
+	if [ "$ISSM_EXTERNALPACKAGES" == "yes" ] || [ ! "$(ls -A ./install)" ]; then
 		echo "======================================================";
 		echo "       Installing $PACKAGENAME                        ";
