You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2016/08/10 21:50:11 UTC

[01/10] accumulo git commit: ACCUMULO-4399 Escape OUTPUT_DIR target in Makefile

Repository: accumulo
Updated Branches:
  refs/heads/1.6 fc9bd0719 -> 9bd3306f0
  refs/heads/1.7 a7b482ad8 -> 78638cba6
  refs/heads/1.8 f1c3f38d8 -> e6d1ee254
  refs/heads/master 71fde9e63 -> 6a8a43f66


ACCUMULO-4399 Escape OUTPUT_DIR target in Makefile

Escape spaces and parens in the OUTPUT_DIR make parameter when set.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/9bd3306f
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/9bd3306f
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/9bd3306f

Branch: refs/heads/1.6
Commit: 9bd3306f03fbd6b910e54df4e8e4834e2ee89a81
Parents: fc9bd07
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Aug 10 17:48:07 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Aug 10 17:48:07 2016 -0400

----------------------------------------------------------------------
 server/native/src/main/resources/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/9bd3306f/server/native/src/main/resources/Makefile
----------------------------------------------------------------------
diff --git a/server/native/src/main/resources/Makefile b/server/native/src/main/resources/Makefile
index 1e26303..5434356 100644
--- a/server/native/src/main/resources/Makefile
+++ b/server/native/src/main/resources/Makefile
@@ -20,6 +20,10 @@ CXX=g++
 MAVERICKFLAGS=
 USERFLAGS=$(shell env | grep "^USERFLAGS=" | cut -d= -f2)
 
+ifneq (,$(OUTPUT_DIR))
+	OUTPUT_DIR_ESCAPED=$(shell echo '$(OUTPUT_DIR)' | sed 's/ /\\ /g' | sed 's/\([()]\)/\\\1/g')
+endif
+
 ifeq ($(shell uname),Linux)
 	JAVA_HOME=$(shell env | grep "^JAVA_HOME=" | cut -d= -f2)
 	ifeq ($(strip $(JAVA_HOME)),)
@@ -57,7 +61,7 @@ test : $(NATIVE_LIB) testJavaHome runTests
 testJavaHome :
 	@echo 'JAVA_HOME is $(JAVA_HOME)'
 
-runTests : $(NATIVE_LIB) $(TESTSRCS) $(OUTPUT_DIR)
+runTests : $(NATIVE_LIB) $(TESTSRCS) $(OUTPUT_DIR_ESCAPED)
 	$(CXX) -g -Wall -I/System/Library/Frameworks/JavaVM.framework/Headers -I'$(JAVA_HOME)'/include -I'$(JAVA_HOME)'/include/linux -I'$(JAVA_HOME)'/include/darwin -InativeMap -o $@ $(TESTSRCS) $(NATIVE_LIB) $(MAVERICK_FLAGS)
 	LD_LIBRARY_PATH=./ ./$@ 20 20 20 20 20 20 20 20 true
 	if [ ! -z "$(OUTPUT_DIR)" ]; then cp '$(NATIVE_LIB)' "$(OUTPUT_DIR)"; fi


[02/10] accumulo git commit: ACCUMULO-4399 Escape OUTPUT_DIR target in Makefile

Posted by ct...@apache.org.
ACCUMULO-4399 Escape OUTPUT_DIR target in Makefile

Escape spaces and parens in the OUTPUT_DIR make parameter when set.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/9bd3306f
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/9bd3306f
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/9bd3306f

Branch: refs/heads/1.7
Commit: 9bd3306f03fbd6b910e54df4e8e4834e2ee89a81
Parents: fc9bd07
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Aug 10 17:48:07 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Aug 10 17:48:07 2016 -0400

----------------------------------------------------------------------
 server/native/src/main/resources/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/9bd3306f/server/native/src/main/resources/Makefile
----------------------------------------------------------------------
diff --git a/server/native/src/main/resources/Makefile b/server/native/src/main/resources/Makefile
index 1e26303..5434356 100644
--- a/server/native/src/main/resources/Makefile
+++ b/server/native/src/main/resources/Makefile
@@ -20,6 +20,10 @@ CXX=g++
 MAVERICKFLAGS=
 USERFLAGS=$(shell env | grep "^USERFLAGS=" | cut -d= -f2)
 
+ifneq (,$(OUTPUT_DIR))
+	OUTPUT_DIR_ESCAPED=$(shell echo '$(OUTPUT_DIR)' | sed 's/ /\\ /g' | sed 's/\([()]\)/\\\1/g')
+endif
+
 ifeq ($(shell uname),Linux)
 	JAVA_HOME=$(shell env | grep "^JAVA_HOME=" | cut -d= -f2)
 	ifeq ($(strip $(JAVA_HOME)),)
@@ -57,7 +61,7 @@ test : $(NATIVE_LIB) testJavaHome runTests
 testJavaHome :
 	@echo 'JAVA_HOME is $(JAVA_HOME)'
 
-runTests : $(NATIVE_LIB) $(TESTSRCS) $(OUTPUT_DIR)
+runTests : $(NATIVE_LIB) $(TESTSRCS) $(OUTPUT_DIR_ESCAPED)
 	$(CXX) -g -Wall -I/System/Library/Frameworks/JavaVM.framework/Headers -I'$(JAVA_HOME)'/include -I'$(JAVA_HOME)'/include/linux -I'$(JAVA_HOME)'/include/darwin -InativeMap -o $@ $(TESTSRCS) $(NATIVE_LIB) $(MAVERICK_FLAGS)
 	LD_LIBRARY_PATH=./ ./$@ 20 20 20 20 20 20 20 20 true
 	if [ ! -z "$(OUTPUT_DIR)" ]; then cp '$(NATIVE_LIB)' "$(OUTPUT_DIR)"; fi


[05/10] accumulo git commit: Merge branch '1.6' into 1.7

Posted by ct...@apache.org.
Merge branch '1.6' into 1.7


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/78638cba
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/78638cba
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/78638cba

Branch: refs/heads/1.8
Commit: 78638cba6c24d381cef336cce6251528ba9f951f
Parents: a7b482a 9bd3306
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Aug 10 17:49:20 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Aug 10 17:49:20 2016 -0400

----------------------------------------------------------------------
 server/native/src/main/resources/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[08/10] accumulo git commit: Merge branch '1.7' into 1.8

Posted by ct...@apache.org.
Merge branch '1.7' into 1.8


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

Branch: refs/heads/1.8
Commit: e6d1ee2549cd340a2d924bf5617b7083698b6edf
Parents: f1c3f38 78638cb
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Aug 10 17:49:28 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Aug 10 17:49:28 2016 -0400

----------------------------------------------------------------------
 server/native/src/main/resources/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[10/10] accumulo git commit: Merge branch '1.8'

Posted by ct...@apache.org.
Merge branch '1.8'


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/6a8a43f6
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/6a8a43f6
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/6a8a43f6

Branch: refs/heads/master
Commit: 6a8a43f66bbc77cad5d385a98b78869b5bf8aeb5
Parents: 71fde9e e6d1ee2
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Aug 10 17:49:38 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Aug 10 17:49:38 2016 -0400

----------------------------------------------------------------------
 server/native/src/main/resources/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[03/10] accumulo git commit: ACCUMULO-4399 Escape OUTPUT_DIR target in Makefile

Posted by ct...@apache.org.
ACCUMULO-4399 Escape OUTPUT_DIR target in Makefile

Escape spaces and parens in the OUTPUT_DIR make parameter when set.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/9bd3306f
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/9bd3306f
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/9bd3306f

Branch: refs/heads/1.8
Commit: 9bd3306f03fbd6b910e54df4e8e4834e2ee89a81
Parents: fc9bd07
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Aug 10 17:48:07 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Aug 10 17:48:07 2016 -0400

----------------------------------------------------------------------
 server/native/src/main/resources/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/9bd3306f/server/native/src/main/resources/Makefile
----------------------------------------------------------------------
diff --git a/server/native/src/main/resources/Makefile b/server/native/src/main/resources/Makefile
index 1e26303..5434356 100644
--- a/server/native/src/main/resources/Makefile
+++ b/server/native/src/main/resources/Makefile
@@ -20,6 +20,10 @@ CXX=g++
 MAVERICKFLAGS=
 USERFLAGS=$(shell env | grep "^USERFLAGS=" | cut -d= -f2)
 
+ifneq (,$(OUTPUT_DIR))
+	OUTPUT_DIR_ESCAPED=$(shell echo '$(OUTPUT_DIR)' | sed 's/ /\\ /g' | sed 's/\([()]\)/\\\1/g')
+endif
+
 ifeq ($(shell uname),Linux)
 	JAVA_HOME=$(shell env | grep "^JAVA_HOME=" | cut -d= -f2)
 	ifeq ($(strip $(JAVA_HOME)),)
@@ -57,7 +61,7 @@ test : $(NATIVE_LIB) testJavaHome runTests
 testJavaHome :
 	@echo 'JAVA_HOME is $(JAVA_HOME)'
 
-runTests : $(NATIVE_LIB) $(TESTSRCS) $(OUTPUT_DIR)
+runTests : $(NATIVE_LIB) $(TESTSRCS) $(OUTPUT_DIR_ESCAPED)
 	$(CXX) -g -Wall -I/System/Library/Frameworks/JavaVM.framework/Headers -I'$(JAVA_HOME)'/include -I'$(JAVA_HOME)'/include/linux -I'$(JAVA_HOME)'/include/darwin -InativeMap -o $@ $(TESTSRCS) $(NATIVE_LIB) $(MAVERICK_FLAGS)
 	LD_LIBRARY_PATH=./ ./$@ 20 20 20 20 20 20 20 20 true
 	if [ ! -z "$(OUTPUT_DIR)" ]; then cp '$(NATIVE_LIB)' "$(OUTPUT_DIR)"; fi


[04/10] accumulo git commit: ACCUMULO-4399 Escape OUTPUT_DIR target in Makefile

Posted by ct...@apache.org.
ACCUMULO-4399 Escape OUTPUT_DIR target in Makefile

Escape spaces and parens in the OUTPUT_DIR make parameter when set.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/9bd3306f
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/9bd3306f
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/9bd3306f

Branch: refs/heads/master
Commit: 9bd3306f03fbd6b910e54df4e8e4834e2ee89a81
Parents: fc9bd07
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Aug 10 17:48:07 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Aug 10 17:48:07 2016 -0400

----------------------------------------------------------------------
 server/native/src/main/resources/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/9bd3306f/server/native/src/main/resources/Makefile
----------------------------------------------------------------------
diff --git a/server/native/src/main/resources/Makefile b/server/native/src/main/resources/Makefile
index 1e26303..5434356 100644
--- a/server/native/src/main/resources/Makefile
+++ b/server/native/src/main/resources/Makefile
@@ -20,6 +20,10 @@ CXX=g++
 MAVERICKFLAGS=
 USERFLAGS=$(shell env | grep "^USERFLAGS=" | cut -d= -f2)
 
+ifneq (,$(OUTPUT_DIR))
+	OUTPUT_DIR_ESCAPED=$(shell echo '$(OUTPUT_DIR)' | sed 's/ /\\ /g' | sed 's/\([()]\)/\\\1/g')
+endif
+
 ifeq ($(shell uname),Linux)
 	JAVA_HOME=$(shell env | grep "^JAVA_HOME=" | cut -d= -f2)
 	ifeq ($(strip $(JAVA_HOME)),)
@@ -57,7 +61,7 @@ test : $(NATIVE_LIB) testJavaHome runTests
 testJavaHome :
 	@echo 'JAVA_HOME is $(JAVA_HOME)'
 
-runTests : $(NATIVE_LIB) $(TESTSRCS) $(OUTPUT_DIR)
+runTests : $(NATIVE_LIB) $(TESTSRCS) $(OUTPUT_DIR_ESCAPED)
 	$(CXX) -g -Wall -I/System/Library/Frameworks/JavaVM.framework/Headers -I'$(JAVA_HOME)'/include -I'$(JAVA_HOME)'/include/linux -I'$(JAVA_HOME)'/include/darwin -InativeMap -o $@ $(TESTSRCS) $(NATIVE_LIB) $(MAVERICK_FLAGS)
 	LD_LIBRARY_PATH=./ ./$@ 20 20 20 20 20 20 20 20 true
 	if [ ! -z "$(OUTPUT_DIR)" ]; then cp '$(NATIVE_LIB)' "$(OUTPUT_DIR)"; fi


[06/10] accumulo git commit: Merge branch '1.6' into 1.7

Posted by ct...@apache.org.
Merge branch '1.6' into 1.7


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/78638cba
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/78638cba
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/78638cba

Branch: refs/heads/1.7
Commit: 78638cba6c24d381cef336cce6251528ba9f951f
Parents: a7b482a 9bd3306
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Aug 10 17:49:20 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Aug 10 17:49:20 2016 -0400

----------------------------------------------------------------------
 server/native/src/main/resources/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[09/10] accumulo git commit: Merge branch '1.7' into 1.8

Posted by ct...@apache.org.
Merge branch '1.7' into 1.8


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

Branch: refs/heads/master
Commit: e6d1ee2549cd340a2d924bf5617b7083698b6edf
Parents: f1c3f38 78638cb
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Aug 10 17:49:28 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Aug 10 17:49:28 2016 -0400

----------------------------------------------------------------------
 server/native/src/main/resources/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[07/10] accumulo git commit: Merge branch '1.6' into 1.7

Posted by ct...@apache.org.
Merge branch '1.6' into 1.7


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/78638cba
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/78638cba
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/78638cba

Branch: refs/heads/master
Commit: 78638cba6c24d381cef336cce6251528ba9f951f
Parents: a7b482a 9bd3306
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Aug 10 17:49:20 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Aug 10 17:49:20 2016 -0400

----------------------------------------------------------------------
 server/native/src/main/resources/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------