Browse Source

Fix permissions issues caused by 986bc2052. (#7984)

For some reason, without `sudo` here, we get permissions issues in CI,
so re-add it.
Austin S. Hemmelgarn 5 years ago
parent
commit
6caa93d1da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packaging/makeself/build-x86_64-static.sh

+ 1 - 1
packaging/makeself/build-x86_64-static.sh

@@ -38,5 +38,5 @@ run docker run -a stdin -a stdout -a stderr -i -t -v \
   /bin/sh /usr/src/netdata.git/packaging/makeself/build.sh "${@}"
 
 if [ "${USER}" ]; then
-  chown -R "${USER}" .
+  sudo chown -R "${USER}" .
 fi