From 3dbb4e9759272ce77304000d0968024f227e645a Mon Sep 17 00:00:00 2001 From: R4SAS Date: Fri, 29 Apr 2022 12:57:20 +0300 Subject: [PATCH] binary pack: fix paths Signed-off-by: R4SAS --- contrib/binary_pack/build-archive | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/contrib/binary_pack/build-archive b/contrib/binary_pack/build-archive index 272b171..44e83fd 100644 --- a/contrib/binary_pack/build-archive +++ b/contrib/binary_pack/build-archive @@ -27,22 +27,22 @@ fi # Prepare files for package mkdir archive -if [ ! -d "../binary/libs/" ]; then +if [ ! -d "../../binary/libs/" ]; then echo "Prebuilt binaries folder is not found. Have you built them?" exit 1 fi for ABI in "${!ABILIST[@]}"; do - if [ -f "../binary/libs/${ABI}/i2pd" ]; then - cp ../binary/libs/${ABI}/i2pd archive/i2pd-${ABILIST[$ABI]} + if [ -f "../../binary/libs/${ABI}/i2pd" ]; then + cp ../../binary/libs/${ABI}/i2pd archive/i2pd-${ABILIST[$ABI]} fi done cp i2pd archive/i2pd -cp -rH ../app/src/main/assets/certificates archive/ -cp -rH ../app/src/main/assets/tunnels.conf.d archive/ -cp -H ../app/src/main/assets/i2pd.conf archive/ -cp -H ../app/src/main/assets/tunnels.conf archive/ +cp -rH ../../app/src/main/assets/certificates archive/ +cp -rH ../../app/src/main/assets/tunnels.conf.d archive/ +cp -H ../../app/src/main/assets/i2pd.conf archive/ +cp -H ../../app/src/main/assets/tunnels.conf archive/ # Compress files cd archive