From 3d2897c6806d2c4a895c8b2c2305dc1c91ec210e Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Gonzalez Date: Tue, 31 Jan 2006 00:12:35 +0000 Subject: [PATCH] Don't fail if license is not present PR: MRM-65 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@373639 13f79535-47bb-0310-9956-ffa450edef68 --- maven-meeper/src/bin/deploy-bundle | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/maven-meeper/src/bin/deploy-bundle b/maven-meeper/src/bin/deploy-bundle index 0fcd03bca8..4bc455882c 100755 --- a/maven-meeper/src/bin/deploy-bundle +++ b/maven-meeper/src/bin/deploy-bundle @@ -98,16 +98,16 @@ echo $BUNDLE # A little help for manually created upload bundles [ -f license.txt ] && mv license.txt $LIC - [ -f licence.txt ] && mv licence.txt $LIC - [ ! -f $LIC ] && echo && echo "Cannot deploy without the $LIC file!" && echo && exit + if [ ! -f $LIC ] + then + ../d2u $LIC + mkdir -p $REPODIR/${groupId}/licenses + cp -i $LIC $REPODIR/${groupId}/licenses/${artifactId}-${version}.license + fi cp ${POM} ${artifactId}-${version}.pom - ../d2u $LIC - - mkdir -p $REPODIR/${groupId}/licenses - cp -i $LIC $REPODIR/${groupId}/licenses/${artifactId}-${version}.license mkdir -p $REPODIR/${groupId}/poms cp -i ${artifactId}-${version}.pom $REPODIR/${groupId}/poms