summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-09-27 18:34:12 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-09-27 18:34:12 -0400
commitf350c19c40401dd83c2eb81b1a45a3be22df4521 (patch)
tree10cb42cd807a32773f2cd81151984d5531b614f4
parente4ea57bd0d3cb50fda30e86b897359fa1875021a (diff)
fix me accidentally starting the args array at 0
-rw-r--r--jh-mvn-basename.sh6
-rw-r--r--jh-mvn-install.sh4
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}"