From a6fdeb8a872d413c76257a32914ade1d0e944583 Mon Sep 17 00:00:00 2001 From: Arpit Agarwal Date: Fri, 4 Aug 2017 10:40:52 -0700 Subject: [PATCH] HADOOP-13963. /bin/bash is hard coded in some of the scripts. Contributed by Ajay Yadav. --- dev-support/docker/hadoop_env_checks.sh | 2 +- dev-support/findHangingTest.sh | 2 +- dev-support/verify-xml.sh | 2 +- .../src/test/scripts/hadoop-functions_test_helper.bash | 2 +- start-build-env.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-support/docker/hadoop_env_checks.sh b/dev-support/docker/hadoop_env_checks.sh index 910c802291..5cb4b2b3b9 100755 --- a/dev-support/docker/hadoop_env_checks.sh +++ b/dev-support/docker/hadoop_env_checks.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file diff --git a/dev-support/findHangingTest.sh b/dev-support/findHangingTest.sh index f7ebe47f09..fcda9ffb8c 100644 --- a/dev-support/findHangingTest.sh +++ b/dev-support/findHangingTest.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file diff --git a/dev-support/verify-xml.sh b/dev-support/verify-xml.sh index abab4e69f2..9ef456a777 100755 --- a/dev-support/verify-xml.sh +++ b/dev-support/verify-xml.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file diff --git a/hadoop-common-project/hadoop-common/src/test/scripts/hadoop-functions_test_helper.bash b/hadoop-common-project/hadoop-common/src/test/scripts/hadoop-functions_test_helper.bash index 86608edd93..fa34bdfc4b 100755 --- a/hadoop-common-project/hadoop-common/src/test/scripts/hadoop-functions_test_helper.bash +++ b/hadoop-common-project/hadoop-common/src/test/scripts/hadoop-functions_test_helper.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. diff --git a/start-build-env.sh b/start-build-env.sh index 18e3a8c38c..94af7e44f2 100755 --- a/start-build-env.sh +++ b/start-build-env.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with