Browse Source

binary pack: fix paths

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/44/head
R4SAS 3 years ago
parent
commit
3dbb4e9759
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 14
      contrib/binary_pack/build-archive

14
contrib/binary_pack/build-archive

@ -27,22 +27,22 @@ fi
# Prepare files for package # Prepare files for package
mkdir archive mkdir archive
if [ ! -d "../binary/libs/" ]; then if [ ! -d "../../binary/libs/" ]; then
echo "Prebuilt binaries folder is not found. Have you built them?" echo "Prebuilt binaries folder is not found. Have you built them?"
exit 1 exit 1
fi fi
for ABI in "${!ABILIST[@]}"; do for ABI in "${!ABILIST[@]}"; do
if [ -f "../binary/libs/${ABI}/i2pd" ]; then if [ -f "../../binary/libs/${ABI}/i2pd" ]; then
cp ../binary/libs/${ABI}/i2pd archive/i2pd-${ABILIST[$ABI]} cp ../../binary/libs/${ABI}/i2pd archive/i2pd-${ABILIST[$ABI]}
fi fi
done done
cp i2pd archive/i2pd cp i2pd archive/i2pd
cp -rH ../app/src/main/assets/certificates archive/ cp -rH ../../app/src/main/assets/certificates archive/
cp -rH ../app/src/main/assets/tunnels.conf.d 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/i2pd.conf archive/
cp -H ../app/src/main/assets/tunnels.conf archive/ cp -H ../../app/src/main/assets/tunnels.conf archive/
# Compress files # Compress files
cd archive cd archive

Loading…
Cancel
Save