You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ca...@apache.org on 2005/10/25 01:01:43 UTC

svn commit: r328184 - /maven/components/trunk/maven-meeper/src/bin/deploy-bundle

Author: carlos
Date: Mon Oct 24 16:01:41 2005
New Revision: 328184

URL: http://svn.apache.org/viewcvs?rev=328184&view=rev
Log:
Improved error checking

Modified:
    maven/components/trunk/maven-meeper/src/bin/deploy-bundle

Modified: maven/components/trunk/maven-meeper/src/bin/deploy-bundle
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-meeper/src/bin/deploy-bundle?rev=328184&r1=328183&r2=328184&view=diff
==============================================================================
--- maven/components/trunk/maven-meeper/src/bin/deploy-bundle (original)
+++ maven/components/trunk/maven-meeper/src/bin/deploy-bundle Mon Oct 24 16:01:41 2005
@@ -36,11 +36,11 @@
     POM=pom.xml
   fi
 
+  [ ! -f ${POM} ] && echo && echo "Cannot deploy without the pom.xml or project.xml file!" && echo && exit
+
   less $POM
 
   ../d2u ${POM}
-
-  [ ! -f ${POM} ] && echo && echo "Cannot deploy without the pom.xml or project.xml file!" && echo && exit
 
   if [ ! -z $VERSION ]
   then