mirror of
https://github.com/bol-van/zapret.git
synced 2025-06-08 03:17: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
|
# bash and zsh do not do this
|
||||||
if exists bash; then
|
if exists bash; then
|
||||||
TEST=bash
|
TEST=bash
|
||||||
elif exists zsh; then
|
elif exists zsh && [ "$UNAME" != CYGWIN ] ; then
|
||||||
TEST=zsh
|
TEST=zsh
|
||||||
elif [ "$UNAME" != Darwin ]; then
|
elif [ "$UNAME" != Darwin -a "$UNAME" != CYGWIN ]; then
|
||||||
if exists hexdump and exists dd; then
|
if exists hexdump and exists dd; then
|
||||||
# macos does not use ELF
|
# macos does not use ELF
|
||||||
TEST=elf
|
TEST=elf
|
||||||
@ -110,7 +110,6 @@ ccp()
|
|||||||
}
|
}
|
||||||
|
|
||||||
UNAME=$(uname)
|
UNAME=$(uname)
|
||||||
select_test_method
|
|
||||||
|
|
||||||
unset PKTWS
|
unset PKTWS
|
||||||
case $UNAME in
|
case $UNAME in
|
||||||
@ -134,6 +133,8 @@ case $UNAME in
|
|||||||
ARCHLIST="my"
|
ARCHLIST="my"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
select_test_method
|
||||||
|
|
||||||
if [ "$1" = "getarch" ]; then
|
if [ "$1" = "getarch" ]; then
|
||||||
for arch in $ARCHLIST
|
for arch in $ARCHLIST
|
||||||
do
|
do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user