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:
parent
26a27a6de4
commit
48eec199bb
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ else
|
||||||
echo ${version} > riot-$version/version
|
echo ${version} > riot-$version/version
|
||||||
fi
|
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
|
rm -r riot-$version
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Add table
Reference in a new issue