summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-12 21:47:54 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-12 21:47:54 -0400
commit5a9295629b3a112113d3d7efd169e0af830c867b (patch)
tree3aadfc5435b87d3c3083a967b06f5696133efade
parent5582cc5a082a7495e87c77f74ee58fcd1999b93b (diff)
jh-mvn-basename: properly handle "." in groupIdv0.4
-rw-r--r--jh-mvn-basename.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jh-mvn-basename.sh b/jh-mvn-basename.sh
index b937c57..a822d6d 100644
--- a/jh-mvn-basename.sh
+++ b/jh-mvn-basename.sh
@@ -15,7 +15,7 @@ mvn_groupId=$1
mvn_artifactId=$2
mvn_version=$3
-dir="${mvn_repo}/${mvn_groupId}/${mvn_artifactId}/${mvn_version}"
+dir="${mvn_repo}/${mvn_groupId//.//}/${mvn_artifactId}/${mvn_version}"
file="${mvn_artifactId}-${mvn_version}"
echo "${dir}/${file}"