Fixes to allow the run parcel script to run in a linux server.
Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/7a63b8a4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/7a63b8a4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/7a63b8a4 Branch: refs/heads/master Commit: 7a63b8a456da132c9f2360694075d2aae516bd4e Parents: 568cd97 Author: Aaron McCurry <amccu...@gmail.com> Authored: Fri Jul 31 13:46:22 2015 -0400 Committer: Aaron McCurry <amccu...@gmail.com> Committed: Fri Jul 31 13:46:22 2015 -0400 ---------------------------------------------------------------------- distribution/run_parcel_server.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7a63b8a4/distribution/run_parcel_server.sh ---------------------------------------------------------------------- diff --git a/distribution/run_parcel_server.sh b/distribution/run_parcel_server.sh index a5fb287..1cec125 100755 --- a/distribution/run_parcel_server.sh +++ b/distribution/run_parcel_server.sh @@ -18,7 +18,8 @@ PROJECT_DIR=`dirname "$0"` PROJECT_DIR=`cd "$PROJECT_DIR"; pwd` -BLUR_VERSION=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version -Dhadoop2 | grep -Ev '(^\[|Download\w+:)'` +BLUR_VERSION=`mvn help:evaluate -Dexpression=project.version -Dhadoop2 | grep -Ev '(^\[|Download\w+:)'` +echo "BLUR_VERSION=${BLUR_VERSION}" TARGET="${PROJECT_DIR}/target" LAST_UPDATED_SEC=`date +%s` @@ -34,7 +35,7 @@ MANIFEST="${HTTP_DIR}/manifest.json" rm -r $HTTP_DIR mkdir $HTTP_DIR -shasum $PARCEL | awk '{print $1}' > $PARCEL_SHA +sha1sum $PARCEL | awk '{print $1}' > $PARCEL_SHA HASH=`cat $PARCEL_SHA` echo "{\"lastUpdated\":${LAST_UPDATED},\"parcels\": [" > $MANIFEST for DISTRO in el5 el6 sles11 lucid precise trusty squeeze wheezy