phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [1/4] phoenix git commit: [PHOENIX-2955] replace xpath to xmllint at make_rc.sh fix problem: "Cannot open file -q at /System/Library/Perl/Extras/5.18/XML/XPath.pm line 53." use `xmllint` relace xpath for parse phoenix name in pom.xml
Date Wed, 01 Jun 2016 17:47:05 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 f9f8f9f07 -> 5cb996511
  refs/heads/4.x-HBase-1.0 1bf75bdd7 -> 90ac492a9
  refs/heads/4.x-HBase-1.1 e3f70785a -> 8cbec765f
  refs/heads/master 95c004112 -> 62d787580


[PHOENIX-2955] replace xpath to xmllint at make_rc.sh
fix problem:
"Cannot open file -q at /System/Library/Perl/Extras/5.18/XML/XPath.pm line 53."
use `xmllint` relace xpath for parse phoenix name in pom.xml

Closes apache/phoenix#170

Signed-off-by: Josh Elser <elserj@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/62d78758
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/62d78758
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/62d78758

Branch: refs/heads/master
Commit: 62d78758017d48da51bf099c75a7c0866eda9b4b
Parents: 95c0041
Author: shijinkui <shijinkui666@163.com>
Authored: Tue May 31 23:05:24 2016 +0800
Committer: Josh Elser <elserj@apache.org>
Committed: Wed Jun 1 13:45:51 2016 -0400

----------------------------------------------------------------------
 dev/make_rc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/62d78758/dev/make_rc.sh
----------------------------------------------------------------------
diff --git a/dev/make_rc.sh b/dev/make_rc.sh
index 288bfdf..794ac30 100755
--- a/dev/make_rc.sh
+++ b/dev/make_rc.sh
@@ -28,7 +28,7 @@ echo "Starting...";sleep 2s
 # Set directory variables
 DIR_ROOT="$(cd $(dirname $0);pwd)/.."
 cd $DIR_ROOT
-PHOENIX="$(xpath -q -e '/project/version/text()' pom.xml)"
+PHOENIX="$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()"
pom.xml)"
 DIR_REL_BASE=$DIR_ROOT/release
 DIR_REL_ROOT=$DIR_REL_BASE/phoenix-$PHOENIX
 DIR_REL_BIN=phoenix-$PHOENIX-bin


Mime
View raw message