Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6EEB3200B21 for ; Wed, 11 May 2016 23:41:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6BA72160A18; Wed, 11 May 2016 21:41:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 684A2160A1D for ; Wed, 11 May 2016 23:41:24 +0200 (CEST) Received: (qmail 8001 invoked by uid 500); 11 May 2016 21:41:23 -0000 Mailing-List: contact commits-help@yetus.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@yetus.apache.org Delivered-To: mailing list commits@yetus.apache.org Received: (qmail 7864 invoked by uid 99); 11 May 2016 21:41:23 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2016 21:41:23 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6921ADFC71; Wed, 11 May 2016 21:41:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sekikn@apache.org To: commits@yetus.apache.org Date: Wed, 11 May 2016 21:41:29 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [07/20] yetus git commit: YETUS-382. launch-test-patch.sh has shellcheck issues archived-at: Wed, 11 May 2016 21:41:25 -0000 YETUS-382. launch-test-patch.sh has shellcheck issues Signed-off-by: Sean Busbey Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/0cefe812 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/0cefe812 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/0cefe812 Branch: refs/heads/YETUS-379 Commit: 0cefe812d1643f9c7a2ce66152670f05e4934745 Parents: dc63c86 Author: Allen Wittenauer Authored: Sun Apr 17 11:19:03 2016 -0700 Committer: Allen Wittenauer Committed: Sun Apr 17 13:07:25 2016 -0700 ---------------------------------------------------------------------- precommit/test-patch-docker/launch-test-patch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/0cefe812/precommit/test-patch-docker/launch-test-patch.sh ---------------------------------------------------------------------- diff --git a/precommit/test-patch-docker/launch-test-patch.sh b/precommit/test-patch-docker/launch-test-patch.sh index aac0d21..7daa612 100755 --- a/precommit/test-patch-docker/launch-test-patch.sh +++ b/precommit/test-patch-docker/launch-test-patch.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -cd "${BASEDIR}" +cd "${BASEDIR}" || exit 1 if [[ -n ${JAVA_HOME} && ! -d ${JAVA_HOME} ]]; then @@ -36,7 +36,7 @@ TESTPATCHMODE=${TESTPATCHMODE/--docker } TESTPATCHMODE=${TESTPATCHMODE%--docker} -cd "${BASEDIR}" +cd "${BASEDIR}" || exit 1 PATCH_DIR=$(cd -P -- "${PATCH_DIR}" >/dev/null && pwd -P) # if patch system is generic, then it's either a local @@ -48,7 +48,7 @@ if [[ "${PATCH_SYSTEM}" = generic ]]; then patchfile="/testptch/extras/patch" fi -cd "${PATCH_DIR}/precommit/" +cd "${PATCH_DIR}/precommit/" || exit 1 #shellcheck disable=SC2086 "${PATCH_DIR}/precommit/test-patch.sh" \ --reexec \