1
0
Fork 0

ensure pull-* scripts are run in the correct path

This commit is contained in:
Gwenhael Le Moine 2024-04-02 12:59:40 +02:00
parent 5c575976a4
commit 6ac5d2cb0c
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 4 additions and 1 deletions

View file

@ -2,6 +2,8 @@
set -eu
cd "$(dirname "$0")" || exit 1
cd ./app/src/main/assets/ || exit 1
[ -d ./calculators.bkp ] && rm -fr ./calculators.bkp

View file

@ -2,6 +2,8 @@
set -eu
cd "$(dirname "$0")" || exit 1
cd ./app/src/main/cpp/ || exit 1
[ -d ./emu48plus.bkp ] && rm -fr ./emu48plus.bkp
@ -28,5 +30,4 @@ sed -i 's|Emu48Dll\.h|emu48dll.h|g' ./*
sed -i 's|Opcodes\.h|opcodes.h|g' ./*
sed -i 's|Ops\.h|ops.h|g' ./*
#cd ../ || exit 1
clang-format -i ./*.c ./*.h