summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-05-02 20:07:33 +0000
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-05-02 20:07:33 +0000
commit29789e8c0f83ac9dd7b242db9c942417e7c8347a (patch)
treec676f853df218d61c12112df433962088806bfd4
parentdb7c8e24d122d1c2c323b88f23abf4bef6ffda18 (diff)
downloadrtems-testing-29789e8c0f83ac9dd7b242db9c942417e7c8347a.tar.bz2
rtems-testing shell scripts: Use env not eval
-rwxr-xr-xgcc/do_one2
-rw-r--r--gcc/do_tests2
-rwxr-xr-xgcc/gcc_status2
-rwxr-xr-xgcc/gccgo_status2
-rwxr-xr-xgcc/gccobjc_status2
-rwxr-xr-xgcc/rundeja2
-rwxr-xr-xgcc/test_driver2
-rwxr-xr-xsim-scripts/check_endof2
-rwxr-xr-xsim-scripts/gdb-sim-run.in2
-rwxr-xr-xsim-scripts/gdb-sim.in2
-rwxr-xr-xsim-scripts/mkrun2
-rwxr-xr-xsim-scripts/nosim2
12 files changed, 12 insertions, 12 deletions
diff --git a/gcc/do_one b/gcc/do_one
index 7d29f5f..0c029e7 100755
--- a/gcc/do_one
+++ b/gcc/do_one
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env bash
#
# Execution Times (for sparc-rtems${RTEMS_VERSION})
#
diff --git a/gcc/do_tests b/gcc/do_tests
index 7ea8d61..0275afb 100644
--- a/gcc/do_tests
+++ b/gcc/do_tests
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env bash
#
# Example script to show how to test an installed RTEMS and GCC
#
diff --git a/gcc/gcc_status b/gcc/gcc_status
index 9e34613..90867b7 100755
--- a/gcc/gcc_status
+++ b/gcc/gcc_status
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env bash
vfile=`dirname $0`/../VERSIONS
if [ ! -r ${vfile} ] ; then
diff --git a/gcc/gccgo_status b/gcc/gccgo_status
index abe55a5..e2d74ca 100755
--- a/gcc/gccgo_status
+++ b/gcc/gccgo_status
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env bash
#
# gccgo_status
#
diff --git a/gcc/gccobjc_status b/gcc/gccobjc_status
index de8e706..f3d98ec 100755
--- a/gcc/gccobjc_status
+++ b/gcc/gccobjc_status
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env bash
#
# gccobjc_status
#
diff --git a/gcc/rundeja b/gcc/rundeja
index 9b7ee2f..5bfe94e 100755
--- a/gcc/rundeja
+++ b/gcc/rundeja
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env bash
#
#
diff --git a/gcc/test_driver b/gcc/test_driver
index 6697e34..f9f8202 100755
--- a/gcc/test_driver
+++ b/gcc/test_driver
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env bash
#
# Test Driver
#
diff --git a/sim-scripts/check_endof b/sim-scripts/check_endof
index 4fd13e0..9dd7be0 100755
--- a/sim-scripts/check_endof
+++ b/sim-scripts/check_endof
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env 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 5930e63..252bd19 100755
--- a/sim-scripts/gdb-sim-run.in
+++ b/sim-scripts/gdb-sim-run.in
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env bash
#
# Framework script tailored for the @CPU@/@BSP@
#
diff --git a/sim-scripts/gdb-sim.in b/sim-scripts/gdb-sim.in
index 94a3aa4..fbe55cf 100755
--- a/sim-scripts/gdb-sim.in
+++ b/sim-scripts/gdb-sim.in
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env bash
#
# Framework script tailored for the @CPU@/@BSP@
#
diff --git a/sim-scripts/mkrun b/sim-scripts/mkrun
index 37161b3..61d0121 100755
--- a/sim-scripts/mkrun
+++ b/sim-scripts/mkrun
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /bin/sh
#
# Helper to sed run scripts
#
diff --git a/sim-scripts/nosim b/sim-scripts/nosim
index b03c125..0c25ed3 100755
--- a/sim-scripts/nosim
+++ b/sim-scripts/nosim
@@ -1,4 +1,4 @@
-#! /usr/bin/eval bash
+#! /usr/bin/env bash
case $1 in
*acats*)