X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Flinux.sh;h=3234aeaa18b234b6d60a8fb4323c3b153c7625e2;hb=6d6ae9622174ffaa5c3fb93887744deb77298e45;hp=913cfd0fd1a00ae8d6275ad77e0fce88188b5a7c;hpb=45c9e83b07a146ad42e19f44b9def27ecbdcd9e2;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/linux.sh b/hints/linux.sh index 913cfd0..3234aea 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -119,7 +119,7 @@ main() { exit(0); /* succeed (yes, it's ELF) */ } EOM -if ${cc:-gcc} try.c >/dev/null 2>&1 && ./a.out; then +if ${cc:-gcc} try.c >/dev/null 2>&1 && $run ./a.out; then cat <<'EOM' >&4 You appear to have ELF support. I'll try to use it for dynamic loading. @@ -189,7 +189,7 @@ fi rm -f try.c a.out -if /bin/bash -c exit; then +if /bin/sh -c exit; then echo '' echo 'You appear to have a working bash. Good.' else