Remove ndk-make.sh symlink to scripts/ndk-make.sh

If scripts are always called directly without symlink,
there is no need to use `realpath` which is not available
on some systems.

F-Droid builds already use scripts/ndk-make.sh:
<https://gitlab.com/fdroid/fdroiddata/blob/master/metadata/com.b44t.messenger.yml>

Same for nightly builds running on Concourse CI.
This commit is contained in:
link2xt 2023-01-05 18:35:42 +00:00
parent a08335ec38
commit 543a7965c2
5 changed files with 5 additions and 6 deletions

View file

@ -4,6 +4,6 @@
#
set -e
TARGETS="armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android"
RUSTUP_TOOLCHAIN=$(cat "$(dirname $(realpath "$0"))/rust-toolchain")
RUSTUP_TOOLCHAIN=$(cat "$(dirname "$0")/rust-toolchain")
rustup install "$RUSTUP_TOOLCHAIN"
rustup target add $TARGETS --toolchain "$RUSTUP_TOOLCHAIN"