Fix macOS external data

credit to @enigma9o7 for finding out that -n is not read correctly on macOS
This commit is contained in:
Filipianosol 2020-11-04 03:12:48 +01:00 committed by GitHub
parent 3f6d5990e7
commit 5b711987a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -706,7 +706,11 @@ res: $(BASEPACK_PATH)
# prepares the basepack.lst
$(BASEPACK_LST): $(EXE)
@mkdir -p $(BUILD_DIR)/$(BASEDIR)
@echo -n > $(BASEPACK_LST)
ifeq ($(HOST_OS),Darwin)
@echo > $(BASEPACK_LST)
else
@echo -n > $(BASEPACK_LST)
endif
@echo "$(BUILD_DIR)/sound/bank_sets sound/bank_sets" >> $(BASEPACK_LST)
@echo "$(BUILD_DIR)/sound/sequences.bin sound/sequences.bin" >> $(BASEPACK_LST)
@echo "$(BUILD_DIR)/sound/sound_data.ctl sound/sound_data.ctl" >> $(BASEPACK_LST)
@ -1007,4 +1011,4 @@ MAKEFLAGS += --no-builtin-rules
-include $(DEP_FILES)
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true