diff --git a/bin/fp_build.sh b/bin/fp_build.sh index fc63cdfb00..6b6d83b34e 100755 --- a/bin/fp_build.sh +++ b/bin/fp_build.sh @@ -256,14 +256,22 @@ rename_file_from_build_string() { if test -f "${hex_source_file}"; then echo "${0}: Renaming file '${hex_source_file}' to '${hex_target_file}'" - mv "${hex_source_file}" "${hex_target_file}" + if [ "${hex_source_file}" = "${hex_target_file}" ]; then + echo "${0}: Skipping rename, since the file is already named appropriately" + else + mv "${hex_source_file}" "${hex_target_file}" + fi else echo "${0}: Could not find hex source file ${hex_source_file} to rename." fi if test -f "${uf2_source_file}"; then echo "${0}: Renaming file '${uf2_source_file}' to '${uf2_target_file}'" - mv "${uf2_source_file}" "${uf2_target_file}" + if [ "${uf2_source_file}" = "${uf2_target_file}" ]; then + echo "${0}: Skipping rename, since the file is already named appropriately" + else + mv "${uf2_source_file}" "${uf2_target_file}" + fi else echo "${0}: Could not find uf2 source file ${uf2_source_file} to rename." fi diff --git a/keyboards/fingerpunch/tenbit/keymaps/sadekbaroudi/keymap.c b/keyboards/fingerpunch/tenbit/keymaps/sadekbaroudi/keymap.c index 86ba019d28..b61f91d95f 100644 --- a/keyboards/fingerpunch/tenbit/keymaps/sadekbaroudi/keymap.c +++ b/keyboards/fingerpunch/tenbit/keymaps/sadekbaroudi/keymap.c @@ -16,7 +16,6 @@ #include "sadekbaroudi.h" #include QMK_KEYBOARD_H -#include "muse.h" // clang-format off #define LAYOUT_ortho_5x12_base( \