From fb99d2fabab6f94b3cc4455e8fed976ca16f0643 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Sat, 8 Apr 2006 04:43:24 +0000 Subject: [PATCH] make ci work for branch, too git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@392479 13f79535-47bb-0310-9956-ffa450edef68 --- ci.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci.sh b/ci.sh index 8a9725dae1..064634f071 100755 --- a/ci.sh +++ b/ci.sh @@ -179,7 +179,11 @@ fi mkdir -p $DEPLOY_DIR > /dev/null 2>&1 - cp $DIR/maven-components/maven-cli/target/*.tar.gz $DEPLOY_DIR/$DIST + if [ -f $DIR/maven-components/maven-cli ]; then + cp $DIR/maven-components/maven-cli/target/*.tar.gz $DEPLOY_DIR/$DIST + else + cp $DIR/maven-components/maven-core/target/*.tar.gz $DEPLOY_DIR/$DIST + fi else