fix when echo -e isnt supported

This commit is contained in:
Mylloon 2024-08-12 10:33:26 +02:00
parent 40bc9f3068
commit 34bdbf8072
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,6 +1,3 @@
ECHO = echo -e
CAT = cat
HEADER = header.bat
PYTHON = main.py
@ -9,7 +6,9 @@ OUTPUT = na.bat
all: build
build:
$(CAT) $(HEADER) > $(OUTPUT)
$(ECHO) "\n::python_beg" >> $(OUTPUT)
$(CAT) $(PYTHON) >> $(OUTPUT)
$(ECHO) "::python_end" >> $(OUTPUT)
cat $(HEADER) > $(OUTPUT)
echo "" >> $(OUTPUT)
echo "::python_beg" >> $(OUTPUT)
cat $(PYTHON) >> $(OUTPUT)
echo "" >> $(OUTPUT)
echo "::python_end" >> $(OUTPUT)