1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 19:07:54 +01:00

escape quotes

This commit is contained in:
JasonN3 2024-03-05 17:40:08 +00:00
parent 31465ab9e6
commit 325bc591e1

View file

@ -67,7 +67,7 @@ lorax_templates/post_%.tmpl: lorax_templates/scripts/post/%
fi; \
if [[ $$skip == 0 ]]; \
then \
echo "append $(_ISO_FILE) \"$$line\"" >> lorax_templates/post_$*.tmpl; \
echo "append $(_ISO_FILE) \"$${line//\"/\\\"}\"" >> lorax_templates/post_$*.tmpl; \
fi; \
skip=0; \
fi; \
@ -99,7 +99,7 @@ lorax_templates/post_%.tmpl: lorax_templates/scripts/post/%
fi; \
if [[ $$skip == 0 ]]; \
then \
echo "append $(_ISO_FILE) \"$$line\"" >> lorax_templates/post_$*.tmpl; \
echo "append $(_ISO_FILE) \"$${line//\"/\\\"}\"" >> lorax_templates/post_$*.tmpl; \
fi; \
skip=0; \
fi; \