You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2006/04/21 16:11:47 UTC

svn commit: r395895 - /maven/components/trunk/maven-meeper/src/bin/deploy-bundle

Author: brett
Date: Fri Apr 21 07:11:45 2006
New Revision: 395895

URL: http://svn.apache.org/viewcvs?rev=395895&view=rev
Log:
making this script locationless, since it doesn't specify where it should be run from.

Modified:
    maven/components/trunk/maven-meeper/src/bin/deploy-bundle

Modified: maven/components/trunk/maven-meeper/src/bin/deploy-bundle
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-meeper/src/bin/deploy-bundle?rev=395895&r1=395894&r2=395895&view=diff
==============================================================================
--- maven/components/trunk/maven-meeper/src/bin/deploy-bundle (original)
+++ maven/components/trunk/maven-meeper/src/bin/deploy-bundle Fri Apr 21 07:11:45 2006
@@ -7,6 +7,7 @@
 [ "${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 @@
 
   less $POM
 
-  ../d2u ${POM}
+  $SCRIPTDIR/d2u ${POM}
 
   if [ ! -z $VERSION ]
   then
@@ -107,7 +108,7 @@
 
   if [ -f $LIC ]
   then
-    ../d2u $LIC
+    $SCRIPTDIR/d2u $LIC
     mkdir -p $REPODIR/${groupId}/licenses
     cp -i $LIC $REPODIR/${groupId}/licenses/${artifactId}-${version}.license  
   fi