commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r475184 - /jakarta/commons/proper/commons-build/trunk/commons_nightly.sh
Date Wed, 15 Nov 2006 10:34:10 GMT
Author: bayard
Date: Wed Nov 15 02:34:09 2006
New Revision: 475184

URL: http://svn.apache.org/viewvc?view=rev&rev=475184
Log:
Put in a check to see if  is found =, otherwise errors and quits

Modified:
    jakarta/commons/proper/commons-build/trunk/commons_nightly.sh

Modified: jakarta/commons/proper/commons-build/trunk/commons_nightly.sh
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-build/trunk/commons_nightly.sh?view=diff&rev=475184&r1=475183&r2=475184
==============================================================================
--- jakarta/commons/proper/commons-build/trunk/commons_nightly.sh (original)
+++ jakarta/commons/proper/commons-build/trunk/commons_nightly.sh Wed Nov 15 02:34:09 2006
@@ -42,11 +42,13 @@
     config=$1
 fi
 
-source $config
-
-echo $config
-
-exit
+if [ -e $config ]
+then
+    source $config
+else
+    echo "Failed to find the config file ${config}"
+    exit
+fi
 
 DIST_DEPLOY='true'
 if [ -z "$deploy_user" -o -z "$deploy_location" -o -z "$deploy_host" ]



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message