summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jh-mvn-install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jh-mvn-install.sh b/jh-mvn-install.sh
index e3db6ad..0fabd71 100644
--- a/jh-mvn-install.sh
+++ b/jh-mvn-install.sh
@@ -18,9 +18,9 @@ fi
dir="${base%/*}"
install -d "${DESTDIR}${dir}"
-install -m 644 "$jarfile" "${DESTDIR}${base}.pom"
+install -m 644 "$pomfile" "${DESTDIR}${base}.pom"
[[ -n $jarfile ]] || exit 0
-install -m 644 "$pomfile" "${DESTDIR}${base}.jar"
+install -m 644 "$jarfile" "${DESTDIR}${base}.jar"
if [[ -n "${aliases[*]}" ]]; then
for alias in "${aliases[@]}"; do