]> source.dussan.org Git - archiva.git/commitdiff
Fix the scriptdir resolution
authorCarlos Sanchez Gonzalez <carlos@apache.org>
Thu, 12 Jul 2007 18:22:55 +0000 (18:22 +0000)
committerCarlos Sanchez Gonzalez <carlos@apache.org>
Thu, 12 Jul 2007 18:22:55 +0000 (18:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@555711 13f79535-47bb-0310-9956-ffa450edef68

maven-meeper/src/bin/bundle-upload/deploy-bundle

index f6910be2b1a818d0f33c43d90028f9acebf5db2c..59f3bbaccdfedfadf87cafcd7d8378b4e8fd37bf 100755 (executable)
@@ -8,10 +8,7 @@ VERSION=$3
 
 WORKDIR=bundle.tmp
 
-base=`basename $0`
-mylocation=`which $base`
-
-SCRIPTDIR=`dirname $mylocation`
+SCRIPTDIR=`dirname ${0}`
 
 [ -d $SCRIPTDIR ] || SCRIPTDIR=.