From: Jim Wilson Date: Thu, 27 Jun 2019 01:12:55 +0000 (-0700) Subject: Fix a few non-dash safe xstormy16 shell scripts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65bd27298d31c6733b68d0cd6b7a4fc26e0598be;p=binutils-gdb.git Fix a few non-dash safe xstormy16 shell scripts. Noticed by a customer while looking at a tangentially related problem. The gas testsuite for xstormy16 has two scripts that have a typo on the first line, they are missing the !. They also use shell syntax that doesn't work on a system where /bin/sh is dash. So I fixed the typo, changed the shell to bash, and made them executable, so that they now work when run directly even if /bin/sh is dash. gas/ * testsuite/gas/xstormy16/allinsn.sh: Change first line to #!/bin/bash and make it executable. * testsuite/gas/xstormy16/gcc.sh: Likewise. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index c1b4625cd8c..5074c4b8950 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2019-06-26 Jim Wilson + + * testsuite/gas/xstormy16/allinsn.sh: Change first line to + #!/bin/bash and make it executable. + * testsuite/gas/xstormy16/gcc.sh: Likewise. + 2019-06-26 Lili Cui * doc/c-i386.texi: Document x/y/z instruction sufffixes in AT&T diff --git a/gas/testsuite/gas/xstormy16/allinsn.sh b/gas/testsuite/gas/xstormy16/allinsn.sh old mode 100644 new mode 100755 index 03828f9c919..feb1a19e5be --- a/gas/testsuite/gas/xstormy16/allinsn.sh +++ b/gas/testsuite/gas/xstormy16/allinsn.sh @@ -1,4 +1,4 @@ -#/bin/sh +#!/bin/bash # Generate test result data for xstormy16 GAS testing. # This script is machine generated. # It is intended to be run in the testsuite source directory. diff --git a/gas/testsuite/gas/xstormy16/gcc.sh b/gas/testsuite/gas/xstormy16/gcc.sh old mode 100644 new mode 100755 index 1eb8972774c..5a20f9e2977 --- a/gas/testsuite/gas/xstormy16/gcc.sh +++ b/gas/testsuite/gas/xstormy16/gcc.sh @@ -1,4 +1,4 @@ -#/bin/sh +#!/bin/bash # Generate test result data for xstormy16 GAS testing. # It is intended to be run in the testsuite source directory. #