Fix installation on Android

Unfortunately, commit ce95cac195 broke
android installation way back in May of last year.
This commit is contained in:
Joey Hess 2025-01-07 14:13:46 -04:00
parent 79d0f1da03
commit cbc83c0386
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 14 additions and 2 deletions

View file

@ -206,7 +206,7 @@ case "$os" in
# The bundled git does not work well on sdcard, so delete
# it and use termux's git which works better.
cd "$base"
find . | grep git | grep -v git-annex | grep -v git-remote-tor-annex | grep -v git-remote-gcrypt | xargs rm -rf
find . | grep git | grep -v git-annex | grep -v git-remote-annex | grep -v git-remote-tor-annex | grep -v git-remote-gcrypt | xargs rm -rf
# Use termux's uname, which knows it's on android,
# not the bundled one.
rm -f bin/uname