From b73bd9c96bb0ba163e7c6ff71a7b9ca28d072053 Mon Sep 17 00:00:00 2001 From: purple Date: Sun, 23 Jul 2023 17:54:13 +0200 Subject: [PATCH] Add a linebreak before identifier:stop --- blueprint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blueprint.sh b/blueprint.sh index d8186b9..c7aa352 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -441,7 +441,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then cat <(echo "") .blueprint/tmp/$n/$dashboard_wrapper > .blueprint/tmp/$n/$dashboard_wrapper.BLUEPRINTBAK; cp .blueprint/tmp/$n/$dashboard_wrapper.BLUEPRINTBAK .blueprint/tmp/$n/$dashboard_wrapper; rm .blueprint/tmp/$n/$dashboard_wrapper.BLUEPRINTBAK; - echo "" >> .blueprint/tmp/$n/$dashboard_wrapper; + echo "\n" >> .blueprint/tmp/$n/$dashboard_wrapper; sed -i "/<\!-- wrapper:insert -->/r .blueprint/tmp/$n/$dashboard_wrapper" resources/views/templates/wrapper.blade.php; fi; @@ -456,7 +456,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then cat <(echo "") .blueprint/tmp/$n/$admin_wrapper > .blueprint/tmp/$n/$admin_wrapper.BLUEPRINTBAK; cp .blueprint/tmp/$n/$admin_wrapper.BLUEPRINTBAK .blueprint/tmp/$n/$admin_wrapper; rm .blueprint/tmp/$n/$admin_wrapper.BLUEPRINTBAK; - echo "" >> .blueprint/tmp/$n/$admin_wrapper; + echo "\n" >> .blueprint/tmp/$n/$admin_wrapper; sed -i "/<\!-- wrapper:insert -->/r .blueprint/tmp/$n/$admin_wrapper" resources/views/layouts/admin.blade.php; fi;