]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: Use #/usr/bin/env bash in scripts that use bash
authorMark Wielaard <mark@klomp.org>
Mon, 15 Jun 2020 22:25:47 +0000 (00:25 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 15 Jun 2020 22:32:30 +0000 (00:32 +0200)
Some systems don't have bash in /bin.

Signed-off-by: Mark Wielaard <mark@klomp.org>
30 files changed:
config/ChangeLog
config/upload-release.sh
tests/ChangeLog
tests/coverage.sh
tests/run-ar.sh
tests/run-backtrace-core-aarch64.sh
tests/run-backtrace-core-i386.sh
tests/run-backtrace-core-ppc.sh
tests/run-backtrace-core-s390.sh
tests/run-backtrace-core-s390x.sh
tests/run-backtrace-core-sparc.sh
tests/run-backtrace-core-x32.sh
tests/run-backtrace-core-x86_64.sh
tests/run-backtrace-data.sh
tests/run-backtrace-demangle.sh
tests/run-backtrace-dwarf.sh
tests/run-backtrace-fp-core-aarch64.sh
tests/run-backtrace-fp-core-i386.sh
tests/run-backtrace-fp-core-ppc64le.sh
tests/run-backtrace-fp-core-x86_64.sh
tests/run-backtrace-native-biarch.sh
tests/run-backtrace-native-core-biarch.sh
tests/run-backtrace-native-core.sh
tests/run-backtrace-native.sh
tests/run-debuginfod-find.sh
tests/run-deleted.sh
tests/run-dwelf_elf_e_machine_string.sh
tests/run-large-elf-file.sh
tests/run-lfs-symbols.sh
tests/run-linkmap-cut.sh

index 2ad93702fd0950d5f9bec282ac2b064136860449..459f752883785d24970892954cd315851006df33 100644 (file)
@@ -1,3 +1,7 @@
+2020-06-16  Mark Wielaard  <mark@klomp.org>
+
+       * upload-release.sh: Use /usr/bin/env bash.
+
 2020-06-11  Mark Wielaard  <mark@klomp.org>
 
        * elfutils.spec.in: Update for 0.189.
index b52642ea8749bafecce301b3d24139f9f2069539..18c91c0ec8a5f7c233603af5db6e062eb780cbeb 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Must be run in the source directory.
 # Should have passed make distcheck.
index e5d9196bb2750a338c8050626b33f1742df6acdd..05220bd7c387e106664ba72ef548394c6bb07280 100644 (file)
@@ -1,3 +1,33 @@
+2020-06-16  Mark Wielaard  <mark@klomp.org>
+
+       * coverage.sh: Use /usr/bin/env bash.
+       * run-ar.sh: Likewise.
+       * run-backtrace-core-aarch64.sh: Likewise.
+       * run-backtrace-core-i386.sh: Likewise.
+       * run-backtrace-core-ppc.sh: Likewise.
+       * run-backtrace-core-s390.sh: Likewise.
+       * run-backtrace-core-s390x.sh: Likewise.
+       * run-backtrace-core-sparc.sh: Likewise.
+       * run-backtrace-core-x32.sh: Likewise.
+       * run-backtrace-core-x86_64.sh: Likewise.
+       * run-backtrace-data.sh: Likewise.
+       * run-backtrace-demangle.sh: Likewise.
+       * run-backtrace-dwarf.sh: Likewise.
+       * run-backtrace-fp-core-aarch64.sh: Likewise.
+       * run-backtrace-fp-core-i386.sh: Likewise.
+       * run-backtrace-fp-core-ppc64le.sh: Likewise.
+       * run-backtrace-fp-core-x86_64.sh: Likewise.
+       * run-backtrace-native-biarch.sh: Likewise.
+       * run-backtrace-native-core-biarch.sh: Likewise.
+       * run-backtrace-native-core.sh: Likewise.
+       * run-backtrace-native.sh: Likewise.
+       * run-debuginfod-find.sh: Likewise.
+       * run-deleted.sh: Likewise.
+       * run-dwelf_elf_e_machine_string.sh: Likewise.
+       * run-large-elf-file.sh: Likewise.
+       * run-lfs-symbols.sh: Likewise.
+       * run-linkmap-cut.sh: Likewise.
+
 2020-06-11  Mark Wielaard  <mark@klomp.org>
 
        * Makefile.am (nlist-test): Add GCOV flags when necessary.
index 01d292cc35b8bbc9521f09c5b7ea9fdcc7f067eb..448d43ba11403484c119196e4cf2b5094910f790 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 
 if [ "x$1" = "x-v" ]; then
   verbose=yes
index fb9394d5cb355e26302570157a468b0eabbfe66a..656f1d1ab33b60429771c70485f2c7205dde1bfe 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2017 Red Hat, Inc.
 # This file is part of elfutils.
 #
index a29a6613deefd6bf0ff0027384e2ed923f2ad362..41221d365aa5faec82074fe717a99234be1d8442 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013 Red Hat, Inc.
 # This file is part of elfutils.
 #
index 7294ec3d96c99182a60076028eaab5daa1d618aa..c497f4aa300e4762f572483e7c02dfdd52ae76a1 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013 Red Hat, Inc.
 # This file is part of elfutils.
 #
index 555ac3522586553d35e3cc7e7941b4e8fdc6bc7c..1a51046c40ea8e3c5aae554ce401ba7e5cf16968 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013 Red Hat, Inc.
 # This file is part of elfutils.
 #
index d3b6dc9c5352a1b5f7e71d49fb2860267597966d..ce3afb931bd809d1116174abb99c3cfa5755cf0c 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013 Red Hat, Inc.
 # This file is part of elfutils.
 #
index c3e236d4bf7b73825b3ec009e166bce06d6423a3..39450c146a8737338955324ef02c345096f27350 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013 Red Hat, Inc.
 # This file is part of elfutils.
 #
index 60399baa63b6226994dfb862af6cd31e46142507..2f39e745353e247857f33d2286fc323e41261a78 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2015 Oracle, Inc.
 # This file is part of elfutils.
 #
index 2ad76bcf105a174542b8c7d58653745b058d13ea..e6144b352d79d8288592d73bb368815354ff9510 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) H.J. Lu <hjl.tools@gmail.com>, 2015.
 # This file is part of elfutils.
 #
index d00cd6d69a44cfdcbd8589da662f42a2e482d745..49248015c913f1769401f33151cfe5079e3ebb0b 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013 Red Hat, Inc.
 # This file is part of elfutils.
 #
index 3062c3044bbd32ddb1ba89a92b9d129b6f12dd46..f67a43ef9f285bf41f37c2fa7ebeb4b543ba1a76 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013 Red Hat, Inc.
 # This file is part of elfutils.
 #
index 2d2532400da8dd21a3d9dbe447598e881bbf122f..403a4852763f2d9a8e5f4c1f0c505b4834633502 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2014, 2015 Red Hat, Inc.
 # This file is part of elfutils.
 #
index 8834048a2f9e85d9b8cd3c171184e64b2d33a8fb..7ed795d8ef29692779c9e5655742da3d56ea809f 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013 Red Hat, Inc.
 # This file is part of elfutils.
 #
index fda88d372c712c4a28c0a5bbc9ead22159e534f8..397e3c3a3206692a1ffcba325620af057fee7cd8 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2017 The Qt Company
 # This file is part of elfutils.
 #
index c58ff532ff777c7af788a5c8804130012660a98c..43f859fe679975b48a1b3a5ccbf9e597790cb919 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2017 Red Hat, Inc.
 # This file is part of elfutils.
 #
index 326ca342d825ed5ede60b36ae4b7b65b5d19f866..345b8dbe8a648abc8ee1603f18ff1f49271c7265 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2017 Red Hat, Inc.
 # This file is part of elfutils.
 #
index 348eb18363831035cd5d1ac360ee0d2eef889268..12f44c4bf6256ae6ce0f1a6ce621477df48f523e 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2017 The Qt Company
 # This file is part of elfutils.
 #
index 2afe38a5e8368052485b019fb6c9eee72778959c..928698303b925bd3547f6e2fbe98d62446c98f01 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013, 2015 Red Hat, Inc.
 # This file is part of elfutils.
 #
index 02552ce9a58a9c05007ca9c7877d2001cf7e358c..232742571bc69aa766d139049397cd0ef057d9b4 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013, 2015 Red Hat, Inc.
 # This file is part of elfutils.
 #
index cb025a566692b95b2fa263fcff77d0bc79a2fc61..db95895f2540eb8bf29abfe98970534b5c7c582d 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013 Red Hat, Inc.
 # This file is part of elfutils.
 #
index ddae345da8d19d537f0f220f77675a196cebb342..823c41179ae9c8fd8b2f4430c2fefb5aa0388689 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2013 Red Hat, Inc.
 # This file is part of elfutils.
 #
index 7faad3317ddcde82835b37427609a87c01213541..f0c77c517662c6440268e85d0052d805b9175616 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Copyright (C) 2019-2020 Red Hat, Inc.
 # This file is part of elfutils.
index 0f6476212ac2f999e03cb2da394ed7dd42f21a66..a1ec1ecf5ce2046107a5b87f4167744a71eba076 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2014 Red Hat, Inc.
 # This file is part of elfutils.
 #
index ba6d0e6309a685a62ecf267fb48b921c42149fec..658f229f4849cf07166aeb1ba8f17f2082dffdf2 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Test to make sure all EM values in elf.h are recognized
 # Copyright (C) 2019 Red Hat, Inc.
 # This file is part of elfutils.
index cbe3061599577177db5da92e0d8c3cc56c89dbdb..667d24d805cc80bf4a0489534a70396b9a9739c7 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2019 Red Hat, Inc.
 # This file is part of elfutils.
 #
index b65391b6a74b3404510ed97b3a4b0072facfa700..7398e7f438abd4082daa79c7b8e951cd8975293a 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2015 Red Hat, Inc.
 # This file is part of elfutils.
 #
index de2bc7cc7ee1dca890f1a50cace79ad7d35c5032..053b96dcaaa800025cc5fe00376906f52f9ceb1e 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/env bash
 # Copyright (C) 2014 Red Hat, Inc.
 # This file is part of elfutils.
 #