From 0f6bc4396eaefeea13af3bdce676e1133d9e064c Mon Sep 17 00:00:00 2001 From: Scisco Date: Thu, 17 Jul 2014 13:44:18 -0400 Subject: Removed sudo from publish script --- scripts/publish.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/publish.sh b/scripts/publish.sh index 34928a4..38b2143 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -16,5 +16,7 @@ build=$6 site="/usr/share/nginx/html/$repo" # Remove old site files, move new ones in place -sudo rm -rf $site -sudo mv $build $site +# On amazon EC2 use sudo if nginx html forlder has root ownership + +rm -rf $site +mv $build $site -- cgit v1.2.3