From e4e131aee4f436b24db1f11b33b04dba6882f566 Mon Sep 17 00:00:00 2001 From: purple Date: Sun, 23 Jul 2023 17:35:00 +0200 Subject: [PATCH] Save identifier:start contents to file instead of logging output. --- blueprint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blueprint.sh b/blueprint.sh index 9dcf823..aa95654 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -437,7 +437,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then sed -i "s~~~g" resources/views/templates/wrapper.blade.php; sed -i "s~~~g" resources/views/templates/wrapper.blade.php; fi; - cat <(echo "") .blueprint/tmp/$n/$dashboard_wrapper; + cat <(echo "") .blueprint/tmp/$n/$dashboard_wrapper > .blueprint/tmp/$n/$dashboard_wrapper; echo "" >> .blueprint/tmp/$n/$dashboard_wrapper; sed -i "/<\!-- wrapper:insert -->/r .blueprint/tmp/$n/$dashboard_wrapper" resources/views/templates/wrapper.blade.php; fi; @@ -449,7 +449,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then sed -i "s~~~g" resources/views/layouts/admin.blade.php; sed -i "s~~~g" resources/views/layouts/admin.blade.php; fi; - cat <(echo "") .blueprint/tmp/$n/$admin_wrapper; + cat <(echo "") .blueprint/tmp/$n/$admin_wrapper > .blueprint/tmp/$n/$admin_wrapper; echo "" >> .blueprint/tmp/$n/$admin_wrapper; sed -i "/<\!-- wrapper:insert -->/r .blueprint/tmp/$n/$admin_wrapper" resources/views/layouts/admin.blade.php; fi;