From 011a9eab38685cdd3b74f78282056d0d37dacb81 Mon Sep 17 00:00:00 2001 From: Jerry Dimitriou Date: Thu, 19 Sep 2024 17:49:28 +0300 Subject: [PATCH] sudo --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index f5812727..0c6bddcf 100755 --- a/build.sh +++ b/build.sh @@ -25,11 +25,11 @@ done docker run --rm -i -v $PROJECT:/src alpine:3.6 chown -R $(id -g $USER).$(id -g $USER) /src/target sudo rm -rf $PROJECT/target/site/files/PEPPOLBIS-Upgrade-Schematron.zip -zip -r $PROJECT/target/site/files/PEPPOLBIS-Upgrade-Schematron.zip target/schematron +sudo zip -r $PROJECT/target/site/files/PEPPOLBIS-Upgrade-Schematron.zip target/schematron # Example files -rm -rf $PROJECT/target/site/files/PEPPOLBIS-Examples.zip -zip -r $PROJECT/target/site/files/PEPPOLBIS-Examples.zip $PROJECT/rules/examples +sudo rm -rf $PROJECT/target/site/files/PEPPOLBIS-Examples.zip +sudo zip -r $PROJECT/target/site/files/PEPPOLBIS-Examples.zip $PROJECT/rules/examples # Guides docker run --rm -i -v $PROJECT:/documents -v $PROJECT/target:/target difi/asciidoctor