From be4d2ff659ca4b08bb41f087b258a17f47b96196 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Tue, 27 Oct 2015 18:19:17 -0700 Subject: [PATCH] Moves the static assets into a subfolder where index.html expects them. --- ui/scripts/dist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/dist.sh b/ui/scripts/dist.sh index be90b7f2ac..0ad6e28ed1 100755 --- a/ui/scripts/dist.sh +++ b/ui/scripts/dist.sh @@ -22,7 +22,7 @@ bundle exec ruby scripts/compile.rb # Copy into deploy shopt -s dotglob -cp -r $DIR/static/* $DEPLOY/ +cp -r $DIR/static $DEPLOY/ cp index.html $DEPLOY/ # Magic scripting @@ -33,5 +33,5 @@ sed -E -e "s#<\/body># rm $DEPLOY/index.htmlbak pushd $DEPLOY >/dev/null 2>&1 -zip ../web_ui.zip ./* +zip -r ../web_ui.zip ./* popd >/dev/null 2>&1