mirror of
git://git.savannah.gnu.org/config.git
synced 2025-07-05 04:38:20 +12:00
* 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:

committed by
Ben Elliston

parent
29900d3bff
commit
fe3de097e8
@ -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
|
||||
|
Reference in New Issue
Block a user