diff options
Diffstat (limited to 'jh-mvn-localrepo.sh')
-rw-r--r-- | jh-mvn-localrepo.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/jh-mvn-localrepo.sh b/jh-mvn-localrepo.sh index 14ea778..e74e7a9 100644 --- a/jh-mvn-localrepo.sh +++ b/jh-mvn-localrepo.sh @@ -1,13 +1,12 @@ #!/bin/bash -. jh if [[ $# > 0 ]]; then - usage - exit 1 + jh-help $0 >>/dev/stderr + exit 1 fi if [ -e /etc/maven/settings.xml ]; then - xml sel -T -t -v "//*[local-name()='localRepository']" -n /etc/maven/settings.xml + xml sel -T -t -v "//*[local-name()='localRepository']" -n /etc/maven/settings.xml else - echo /usr/share/maven/repository + echo /usr/share/maven/repository fi |