install_bin: fix minor problems

This commit is contained in:
bol-van 2025-05-28 20:40:26 +03:00
parent 06921bdbee
commit 06f57e27ed

View File

@ -28,9 +28,9 @@ select_test_method()
# bash and zsh do not do this
if exists bash; then
TEST=bash
elif exists zsh; then
elif exists zsh && [ "$UNAME" != CYGWIN ] ; then
TEST=zsh
elif [ "$UNAME" != Darwin ]; then
elif [ "$UNAME" != Darwin -a "$UNAME" != CYGWIN ]; then
if exists hexdump and exists dd; then
# macos does not use ELF
TEST=elf
@ -110,7 +110,6 @@ ccp()
}
UNAME=$(uname)
select_test_method
unset PKTWS
case $UNAME in
@ -134,6 +133,8 @@ case $UNAME in
ARCHLIST="my"
esac
select_test_method
if [ "$1" = "getarch" ]; then
for arch in $ARCHLIST
do