[rtems-testing commit] rtems-testing: Use eval bash instead of full path
Joel Sherrill
joel at rtems.org
Fri May 2 14:17:38 UTC 2014
Module: rtems-testing
Branch: master
Commit: 85c521db42f8a1ffd8b76aa916d47d052aeb5c54
Changeset: http://git.rtems.org/rtems-testing/commit/?id=85c521db42f8a1ffd8b76aa916d47d052aeb5c54
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Fri May 2 14:14:18 2014 +0000
rtems-testing: Use eval bash instead of full path
---
gcc/do_one | 3 ++-
gcc/do_tests | 1 +
gcc/gcc_status | 2 +-
gcc/gccgo_status | 2 +-
gcc/gccobjc_status | 2 +-
gcc/rundeja | 2 +-
gcc/test_driver | 2 +-
qemu-support/qemu-ifdown | 2 +-
release-helpers/cut_release | 2 +-
rtems-coverage/run_coverage | 2 +-
rtems/bit_ALL | 2 +-
rtems/bit_all_confs | 2 +-
sim-scripts/check_endof | 2 +-
sim-scripts/gdb-sim-run.in | 2 +-
sim-scripts/gdb-sim.in | 2 +-
sim-scripts/mkrun | 2 +-
sim-scripts/nosim | 2 +-
17 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/gcc/do_one b/gcc/do_one
index c559eb9..7d29f5f 100755
--- a/gcc/do_one
+++ b/gcc/do_one
@@ -1,4 +1,5 @@
-
+#! /usr/bin/eval bash
+#
# Execution Times (for sparc-rtems${RTEMS_VERSION})
#
# - building native - ?
diff --git a/gcc/do_tests b/gcc/do_tests
index 7d6a7cf..7ea8d61 100644
--- a/gcc/do_tests
+++ b/gcc/do_tests
@@ -1,3 +1,4 @@
+#! /usr/bin/eval bash
#
# Example script to show how to test an installed RTEMS and GCC
#
diff --git a/gcc/gcc_status b/gcc/gcc_status
index 7771f25..9e34613 100755
--- a/gcc/gcc_status
+++ b/gcc/gcc_status
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /usr/bin/eval bash
vfile=`dirname $0`/../VERSIONS
if [ ! -r ${vfile} ] ; then
diff --git a/gcc/gccgo_status b/gcc/gccgo_status
index 448c9a4..abe55a5 100755
--- a/gcc/gccgo_status
+++ b/gcc/gccgo_status
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /usr/bin/eval bash
#
# gccgo_status
#
diff --git a/gcc/gccobjc_status b/gcc/gccobjc_status
index dbf4695..de8e706 100755
--- a/gcc/gccobjc_status
+++ b/gcc/gccobjc_status
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /usr/bin/eval bash
#
# gccobjc_status
#
diff --git a/gcc/rundeja b/gcc/rundeja
index 5285f5d..9b7ee2f 100755
--- a/gcc/rundeja
+++ b/gcc/rundeja
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /usr/bin/eval bash
#
#
diff --git a/gcc/test_driver b/gcc/test_driver
index 5d4bf91..6697e34 100755
--- a/gcc/test_driver
+++ b/gcc/test_driver
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /usr/bin/eval bash
#
# Test Driver
#
diff --git a/qemu-support/qemu-ifdown b/qemu-support/qemu-ifdown
index 809da30..a3c4c48 100755
--- a/qemu-support/qemu-ifdown
+++ b/qemu-support/qemu-ifdown
@@ -1,3 +1,3 @@
-#! /bin/bash
+#! /bin/sh
exit 0
diff --git a/release-helpers/cut_release b/release-helpers/cut_release
index eff7801..eacdeba 100755
--- a/release-helpers/cut_release
+++ b/release-helpers/cut_release
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
#
# Cut a snapshot of a module in CVS
#
diff --git a/rtems-coverage/run_coverage b/rtems-coverage/run_coverage
index 5f28e69..d30fab3 100755
--- a/rtems-coverage/run_coverage
+++ b/rtems-coverage/run_coverage
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
#
# Script to help running coverage profiles
#
diff --git a/rtems/bit_ALL b/rtems/bit_ALL
index 69db51f..5501edf 100755
--- a/rtems/bit_ALL
+++ b/rtems/bit_ALL
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
#
# Do a full test sweep using the other helper scripts
#
diff --git a/rtems/bit_all_confs b/rtems/bit_all_confs
index a0265e2..3bc5c39 100755
--- a/rtems/bit_all_confs
+++ b/rtems/bit_all_confs
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
#
# Run over all possible RTEMS configurations
#
diff --git a/sim-scripts/check_endof b/sim-scripts/check_endof
index e027b74..4fd13e0 100755
--- a/sim-scripts/check_endof
+++ b/sim-scripts/check_endof
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/eval bash
#
# This script checks for the "END OF" message in all RTEMS tests.
# It reports tests which do not appear to have completed successfully
diff --git a/sim-scripts/gdb-sim-run.in b/sim-scripts/gdb-sim-run.in
index 6406bb1..5930e63 100755
--- a/sim-scripts/gdb-sim-run.in
+++ b/sim-scripts/gdb-sim-run.in
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/eval bash
#
# Framework script tailored for the @CPU@/@BSP@
#
diff --git a/sim-scripts/gdb-sim.in b/sim-scripts/gdb-sim.in
index 3e04154..94a3aa4 100755
--- a/sim-scripts/gdb-sim.in
+++ b/sim-scripts/gdb-sim.in
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /usr/bin/eval bash
#
# Framework script tailored for the @CPU@/@BSP@
#
diff --git a/sim-scripts/mkrun b/sim-scripts/mkrun
index 61d0121..37161b3 100755
--- a/sim-scripts/mkrun
+++ b/sim-scripts/mkrun
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /usr/bin/eval bash
#
# Helper to sed run scripts
#
diff --git a/sim-scripts/nosim b/sim-scripts/nosim
index 5ec87b8..b03c125 100755
--- a/sim-scripts/nosim
+++ b/sim-scripts/nosim
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /usr/bin/eval bash
case $1 in
*acats*)
More information about the vc
mailing list