You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by el...@apache.org on 2016/06/01 17:47:08 UTC

[4/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

[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 <el...@apache.org>


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 5cb996511d5debbbd2374bbc422c953fa2c29128
Parents: f9f8f9f
Author: shijinkui <sh...@163.com>
Authored: Tue May 31 23:05:24 2016 +0800
Committer: Josh Elser <el...@apache.org>
Committed: Wed Jun 1 13:46:39 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/phoenix/blob/5cb99651/dev/make_rc.sh
----------------------------------------------------------------------
diff --git a/dev/make_rc.sh b/dev/make_rc.sh
index a1812ea..f5aafb8 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