[rtems-testing commit] rtems-testing shell scripts: Use env not eval
Joel Sherrill
joel at rtems.org
Fri May 2 19:59:38 UTC 2014
Module: rtems-testing
Branch: master
Commit: 29789e8c0f83ac9dd7b242db9c942417e7c8347a
Changeset: http://git.rtems.org/rtems-testing/commit/?id=29789e8c0f83ac9dd7b242db9c942417e7c8347a
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Fri May 2 20:07:33 2014 +0000
rtems-testing shell scripts: Use env not eval
---
gcc/do_one | 2 +-
gcc/do_tests | 2 +-
gcc/gcc_status | 2 +-
gcc/gccgo_status | 2 +-
gcc/gccobjc_status | 2 +-
gcc/rundeja | 2 +-
gcc/test_driver | 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 +-
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*)
More information about the vc
mailing list