From 092f138eb60604939b23ebe1ea91f8e768bc35c1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 29 May 2014 15:43:33 -0400 Subject: jh-mvn-localrepo: simplify XPATH selector --- jh-mvn-localrepo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf