Added -i option to copy

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163305 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2005-01-11 22:35:37 +00:00
parent 91c2856267
commit 3143fbd731
1 changed files with 4 additions and 4 deletions

View File

@ -89,10 +89,10 @@ echo $BUNDLE
../d2u $LIC
mkdir -p $REPODIR/${groupId}/licenses
cp $LIC $REPODIR/${groupId}/licenses/${artifactId}-${version}.license
cp -i $LIC $REPODIR/${groupId}/licenses/${artifactId}-${version}.license
mkdir -p $REPODIR/${groupId}/poms
cp ${artifactId}-${version}.pom $REPODIR/${groupId}/poms
cp -i ${artifactId}-${version}.pom $REPODIR/${groupId}/poms
artifactType=`echo ${artifactId} | sed -e 's/maven-.*-plugin//'`
@ -100,10 +100,10 @@ echo $BUNDLE
then
echo "Deploying Plugin ..."
mkdir -p $REPODIR/${groupId}/plugins
cp ${artifactId}-${version}.jar $REPODIR/${groupId}/plugins
cp -i ${artifactId}-${version}.jar $REPODIR/${groupId}/plugins
else
echo "Deploying JAR ..."
mkdir -p $REPODIR/${groupId}/jars
cp ${artifactId}-${version}.jar $REPODIR/${groupId}/jars
cp -i ${artifactId}-${version}.jar $REPODIR/${groupId}/jars
fi
)