making this script locationless, since it doesn't specify where it should be run from.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@395895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2006-04-21 14:11:45 +00:00
parent 0e548f6fc1
commit c1435cfd61
1 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ VERSION=$3
[ "${BUNDLEURL}" = "" ] && echo && echo "You must specify a bundle URL!" && echo && exit
WORKDIR=bundle.tmp
SCRIPTDIR=`dirname $0`
# repo dir relative to WORKDIR
REPODIR=$HOME/repository-staging/to-ibiblio/maven
@ -46,7 +47,7 @@ BUNDLE=tmp.jar
less $POM
../d2u ${POM}
$SCRIPTDIR/d2u ${POM}
if [ ! -z $VERSION ]
then
@ -107,7 +108,7 @@ BUNDLE=tmp.jar
if [ -f $LIC ]
then
../d2u $LIC
$SCRIPTDIR/d2u $LIC
mkdir -p $REPODIR/${groupId}/licenses
cp -i $LIC $REPODIR/${groupId}/licenses/${artifactId}-${version}.license
fi