You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2016/06/09 18:07:00 UTC
activemq-artemis git commit: Modifying script to use tar instead of
unzip
Repository: activemq-artemis
Updated Branches:
refs/heads/master 0c73bbc96 -> 4fd27d97d
Modifying script to use tar instead of unzip
it's more compatible with linux not requiring special packages installed
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/4fd27d97
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/4fd27d97
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/4fd27d97
Branch: refs/heads/master
Commit: 4fd27d97d78a4d4b5144e17f24321906c1160cbe
Parents: 0c73bbc
Author: Clebert Suconic <cl...@apache.org>
Authored: Thu Jun 9 13:21:28 2016 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Thu Jun 9 13:22:06 2016 -0400
----------------------------------------------------------------------
artemis-distribution/src/test/scripts/validate-spaces.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/4fd27d97/artemis-distribution/src/test/scripts/validate-spaces.sh
----------------------------------------------------------------------
diff --git a/artemis-distribution/src/test/scripts/validate-spaces.sh b/artemis-distribution/src/test/scripts/validate-spaces.sh
index 8381230..16f0da3 100755
--- a/artemis-distribution/src/test/scripts/validate-spaces.sh
+++ b/artemis-distribution/src/test/scripts/validate-spaces.sh
@@ -18,7 +18,7 @@
# This script will validate the distribution works with folders with spaces on Linux machines
-rm -rf target/with\ space
+rm -rf target
mkdir target
mkdir target/with\ space
@@ -29,9 +29,9 @@ set -e
export CURRENT_DIR=`pwd`
if [ $# -eq 0 ]; then
- export LOCAL_USED=`ls ../../../target/apache-artemis-*bin.zip`
+ export LOCAL_USED=`ls ../../../target/apache-artemis-*bin.tar.gz`
echo Unziping $LOCAL_USED
- unzip $LOCAL_USED -d "./target/with space"
+ tar -zxf $LOCAL_USED -C "./target/with space"
cd "./target/with space"
export ARTEMIS_HOME="`pwd`/`ls`"
echo home is $ARTEMIS_HOME
@@ -67,7 +67,7 @@ sleep 5
./artemis stop
sleep 5
-./artemis data print
+./artemis data print > data.log
./artemis data compact
./artemis data exp