From 5e542e5fe2f752666a3a2d2a5953a5273d6b372d Mon Sep 17 00:00:00 2001 From: Timothy Schoen <44585538+timothyschoen@users.noreply.github.com> Date: Fri, 11 Nov 2022 15:31:46 +0100 Subject: [PATCH] Build script fix --- scripts/build_libdaisy.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/build_libdaisy.sh b/scripts/build_libdaisy.sh index 5356998..bdf3cde 100755 --- a/scripts/build_libdaisy.sh +++ b/scripts/build_libdaisy.sh @@ -5,8 +5,8 @@ mkdir -p Heavy/usr/lib mkdir -p Heavy/usr/utils mkdir -p Heavy/usr/include -cp $(which make) Heavy/usr/bin/make -cp ./scripts/Makefile Heavy/usr/utils/Makefile +cp -f $(which make) Heavy/usr/bin/make +cp -f ./scripts/Makefile Heavy/usr/utils/Makefile if [[ "$OSTYPE" == "darwin"* ]]; then @@ -29,9 +29,9 @@ echo "Installing packages with Homebrew" brew install openocd dfu-util brew install $SCRIPTPATH/gcc-arm-embedded.rb --cask -cp $(which arm-none-eabi-gcc) Heavy/usr/bin/arm-none-eabi-gcc -cp $(which dfu-util) Heavy/usr/bin/dfu-util -cp $(which openocd) Heavy/usr/bin/openocd +cp -f $(which arm-none-eabi-gcc) Heavy/usr/bin/arm-none-eabi-gcc +cp -f $(which dfu-util) Heavy/usr/bin/dfu-util +cp -f $(which openocd) Heavy/usr/bin/openocd else