[pkg-java] r8176 - trunk/maven-repo-helper/src/main/bin

ludovicc-guest at alioth.debian.org ludovicc-guest at alioth.debian.org
Thu Apr 2 00:33:59 UTC 2009


Author: ludovicc-guest
Date: 2009-04-02 00:33:59 +0000 (Thu, 02 Apr 2009)
New Revision: 8176

Modified:
   trunk/maven-repo-helper/src/main/bin/mh_genrules
Log:
* Ignore empty lines in poms file

Modified: trunk/maven-repo-helper/src/main/bin/mh_genrules
===================================================================
--- trunk/maven-repo-helper/src/main/bin/mh_genrules	2009-04-01 23:38:26 UTC (rev 8175)
+++ trunk/maven-repo-helper/src/main/bin/mh_genrules	2009-04-02 00:33:59 UTC (rev 8176)
@@ -30,8 +30,10 @@
 # Automatic execution of mh_cleanpom to fill versions.properties
 if [ ! -f "$VERSION_PROPERTIES_FILE" ]; then
     cat debian/$PACKAGE.poms | while read POM OPTS; do
-        echo "mh_cleanpom $POM"
-        mh_cleanpom $OPTS $POM
+        if [ ! -z "$POM" ]; then
+            echo "mh_cleanpom $POM"
+            mh_cleanpom $OPTS $POM
+        fi
     done
 fi
 




More information about the pkg-java-commits mailing list