pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Linux bootstrap shell



On an Ubuntu 18.04.5 box:

prlw1@nightjar:/usr/prlw1/pkgsrc/bootstrap$ ls -l /bin/*sh
-rwxr-xr-x 1 root root 1113504 Jun  6  2019 /bin/bash
-rwxr-xr-x 1 root root  121432 Jan 25  2018 /bin/dash
lrwxrwxrwx 1 root root       4 Jun  6  2019 /bin/rbash -> bash
lrwxrwxrwx 1 root root       4 Oct 26  2018 /bin/sh -> dash
lrwxrwxrwx 1 root root       7 Mar  6  2019 /bin/static-sh -> busybox
prlw1@nightjar:/usr/prlw1/pkgsrc/bootstrap$ ./bootstrap --help
ERROR: Your shell's echo command is not BSD-compatible.
ERROR: Please select another shell by setting the environment
ERROR: variable SH.
prlw1@nightjar:/usr/prlw1/pkgsrc/bootstrap$ /bin/sh bootstrap --help
ERROR: Your shell's echo command is not BSD-compatible.
ERROR: Please select another shell by setting the environment
ERROR: variable SH.
prlw1@nightjar:/usr/prlw1/pkgsrc/bootstrap$ /bin/dash bootstrap --help
ERROR: Your shell's echo command is not BSD-compatible.
ERROR: Please select another shell by setting the environment
ERROR: variable SH.
prlw1@nightjar:/usr/prlw1/pkgsrc/bootstrap$ /bin/bash bootstrap --help
ERROR: Your shell's echo command is not BSD-compatible.
ERROR: Please select another shell by setting the environment
ERROR: variable SH.
prlw1@nightjar:/usr/prlw1/pkgsrc/bootstrap$ /bin/bash --version
GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
Copyright © 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.



According to

# On some newer Ubuntu installations, /bin/sh is a symlink to /bin/dash,
# whose echo(1) is not BSD-compatible.
# On all Debian GNU/kFreeBSD 7.0, /bin/sh is a symlink to /bin/dash, and
# use /bin/bash. bootstrap forces /bin/bash is used.

bash should have been OK?


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index