cake_wallet/scripts/prepare_moneroc.sh
Czarek Nakamoto 80cb8453c8 update moneroc hash
WIP fixes for zano
2024-12-20 09:22:23 +01:00

29 lines
550 B
Bash
Executable file

#!/bin/bash
set -x -e
cd "$(dirname "$0")"
if [[ ! -d "monero_c" ]];
then
git clone https://github.com/mrcyjanek/monero_c --branch master
cd monero_c
git checkout e3cafc9aa0f06d4cecde96f28c497e7ab686be90
git reset --hard
git submodule update --init --force --recursive
./apply_patches.sh monero
./apply_patches.sh wownero
else
cd monero_c
fi
for coin in monero wownero zano;
do
if [[ ! -f "$coin/.patch-applied" ]];
then
./apply_patches.sh $coin
fi
done
cd ..
echo "monero_c source prepared".