Set uid/gid to 0 in tarball

Give the files in thar tarball user and group root, so that when you untar it
you don't get a surprise if you happen to have a user named the same as the
build user.
This commit is contained in:
Richard van der Hoff 2017-06-22 07:27:38 +01:00
parent 26a27a6de4
commit 48eec199bb

View file

@ -30,7 +30,7 @@ else
echo ${version} > riot-$version/version
fi
tar chvzf dist/riot-$version.tar.gz riot-$version
tar chvz --owner=0 --group=0 -f dist/riot-$version.tar.gz riot-$version
rm -r riot-$version
echo