diff --git a/dev-support/docker/hadoop_env_checks.sh b/dev-support/docker/hadoop_env_checks.sh index 910c802291a..5cb4b2b3b95 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 f7ebe47f093..fcda9ffb8c9 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 abab4e69f2b..9ef456a777d 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 86608edd93a..fa34bdfc4b5 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 18e3a8c38c4..94af7e44f2c 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