[Bug ld/5215] [regression] ld/genscripts.sh rev 1.24 breaks on FreeBSD's /bin/sh

2007-10-25 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2007-10-25 12:36 --- Would /bin/sh be happy with the following? if test -n "${BASH+set}"; then . ${srcdir}/gen.bash else ... ie. hide the bash specific syntax in another file? -- http://sourceware.org/bugzilla/show_bug

[Bug ld/5215] [regression] ld/genscripts.sh rev 1.24 breaks on FreeBSD's /bin/sh

2007-10-25 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2007-10-25 19:52 --- (In reply to comment #1) > Would /bin/sh be happy with the following? > > if test -n "${BASH+set}"; then > . ${srcdir}/gen.bash > else Yes, that appears to work for FreeBSD's /bin/sh. Currently can