From 668ce376616b5d205e593628af689a1036be19f0 Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Wed, 2 Jan 2019 03:45:19 +0100 Subject: [PATCH] fix permission issue with rice-box --- wizard.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wizard.sh b/wizard.sh index e9dafb34..ac245b2a 100755 --- a/wizard.sh +++ b/wizard.sh @@ -87,6 +87,7 @@ buildAssets () { yarn install yarn build + echo "Run rice" cd $REPO/http rice embed-go } @@ -177,6 +178,10 @@ build () { rm -rf frontend/dist fi; + if [ -f "http/rice-box.go" ]; then + rm -f http/rice-box.go + fi; + if [ "$(command -v git)" != "" ]; then COMMIT_SHA="$(git rev-parse HEAD | cut -c1-8)" else