From f350c19c40401dd83c2eb81b1a45a3be22df4521 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 27 Sep 2012 18:34:12 -0400 Subject: fix me accidentally starting the args array at 0 --- jh-mvn-basename.sh | 6 +++--- jh-mvn-install.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jh-mvn-basename.sh b/jh-mvn-basename.sh index 7c1d8a1..5b9dad4 100644 --- a/jh-mvn-basename.sh +++ b/jh-mvn-basename.sh @@ -8,9 +8,9 @@ fi mvn_repo="`$jh_cmd mvn-localrepo`" -mvn_groupId=$0 -mvn_artifactId=$1 -mvn_version=$2 +mvn_groupId=$1 +mvn_artifactId=$2 +mvn_version=$3 dir="${mvn_repo}/${mvn_groupId}/${mvn_artifactId}/${mvn_version}" file="${mvn_artifactId}-${mvn_version}" diff --git a/jh-mvn-install.sh b/jh-mvn-install.sh index 84b0fc4..2be9cce 100644 --- a/jh-mvn-install.sh +++ b/jh-mvn-install.sh @@ -7,8 +7,8 @@ if [[ $# != 5 ]]; then fi base="`$jh_cmd mvn-basename $1 $2 $3" -jarfile=$3 -pomfile=$4 +jarfile=$4 +pomfile=$5 dir="${base%/*}" install -d "${DESTDIR}${dir}" -- cgit v1.2.3-54-g00ecf