* testsuite/config-guess.sh: Insert a shebang for /bin/sh into the

generated uname script.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Basil Peace 2013-06-08 08:02:12 +10:00 committed by Ben Elliston
parent 29900d3bff
commit fe3de097e8
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-06-08 Basil Peace <grv87-dev@yandex.ru>
* testsuite/config-guess.sh: Insert a shebang for /bin/sh into the
generated uname script.
2013-06-06 Anton Blanchard <anton@samba.org>
* config.guess (ppc64le:Linux:*:*, ppcle:Linux:*:*): New.

View File

@ -18,6 +18,7 @@ run_config_guess ()
-e "s,@RELEASE@,$release," \
-e "s,@SYSTEM@,$system," \
-e "s,@VERSION@,$version," > uname << EOF
#!/bin/sh
[ \$# -ne 1 ] && exec sh \$0 -s
[ \$1 = -m ] && echo "@MACHINE@" && exit 0
[ \$1 = -r ] && echo "@RELEASE@" && exit 0