summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-05-29 15:43:33 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-05-29 15:43:33 -0400
commit092f138eb60604939b23ebe1ea91f8e768bc35c1 (patch)
tree26cb6fe1cfbc643131f15c92aa493c08cd50e4b2
parentd974a13c843ef0f733489736a2942c88c23941da (diff)
jh-mvn-localrepo: simplify XPATH selector
-rw-r--r--jh-mvn-localrepo.sh2
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