From c30a6fa2298913650e307a3598091ff6f3b1110e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Juan=20G=C3=B3mez=20Pe=C3=B1alver?= Date: Sat, 4 Apr 2020 00:26:49 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20sudo=20from=20scripts=20Signed-?= =?UTF-8?q?off-by:=20Carlos=20Juan=20G=C3=B3mez=20Pe=C3=B1alver=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/lint.sh | 2 +- scripts/publish.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lint.sh b/scripts/lint.sh index 7c400e2c..8f084c5b 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -5,7 +5,7 @@ SRCROOT="$(cd "$(dirname "$0")/.." && pwd)" for dir in $(find $SRCROOT/charts -mindepth 1 -maxdepth 1 -type d); do - sudo rm -rf $dir/charts + rm -rf $dir/charts name=$(basename $dir) echo "Running Helm linting for $name" docker run \ diff --git a/scripts/publish.sh b/scripts/publish.sh index 777ab5ac..b2d2b362 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -8,7 +8,7 @@ rm -rf $SRCROOT/output && git clone -b gh-pages git@github.com:argoproj/argo-hel for dir in $(find $SRCROOT/charts -mindepth 1 -maxdepth 1 -type d); do - sudo rm -rf $dir/charts + rm -rf $dir/charts name=$(basename $dir)