mirror of
https://github.com/bol-van/zapret.git
synced 2025-06-07 19:07:49 +05:00
install_bin: fix minor problems
This commit is contained in:
parent
06921bdbee
commit
06f57e27ed
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user