diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-29 15:43:33 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-29 15:43:33 -0400 |
commit | 092f138eb60604939b23ebe1ea91f8e768bc35c1 (patch) | |
tree | 26cb6fe1cfbc643131f15c92aa493c08cd50e4b2 | |
parent | d974a13c843ef0f733489736a2942c88c23941da (diff) |
jh-mvn-localrepo: simplify XPATH selector
-rw-r--r-- | jh-mvn-localrepo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jh-mvn-localrepo.sh b/jh-mvn-localrepo.sh index fd6323f..34a2272 100644 --- a/jh-mvn-localrepo.sh +++ b/jh-mvn-localrepo.sh @@ -10,7 +10,7 @@ if [[ $# -gt 0 ]]; then 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 //_:localRepository -n /etc/maven/settings.xml else echo /usr/share/maven/repository fi |