Skip to content

Commit b14d984

Browse files
authored
Fix echo not interpreting newline in Makefile (#501)
1 parent ee0d06a commit b14d984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ build: clean
8080

8181
multizip: clean
8282
@-$(foreach abi,$(KODI_PYTHON_ABIS), \
83-
echo "cd /addon/requires/import[@addon='xbmc.python']/@version\nset $(abi)\nsave\nbye" | xmllint --shell addon.xml; \
83+
echo -e "cd /addon/requires/import[@addon='xbmc.python']/@version\nset $(abi)\nsave\nbye" | xmllint --shell addon.xml; \
8484
matrix=$(findstring $(abi), $(word 1,$(KODI_PYTHON_ABIS))); \
8585
if [ $$matrix ]; then version=$(version)+matrix.1; else version=$(version); fi; \
86-
echo "cd /addon/@version\nset $$version\nsave\nbye" | xmllint --shell addon.xml; \
86+
echo -e "cd /addon/@version\nset $$version\nsave\nbye" | xmllint --shell addon.xml; \
8787
make zip; \
8888
)
8989

0 commit comments

Comments
 (0)