summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}"