Change uid and gid for source tarball to 0:0.

This commit is contained in:
Daniel Kirchner 2019-01-07 13:02:01 +01:00
parent aca9e58145
commit 17e781f8d2

View File

@ -33,6 +33,6 @@ REPO_ROOT="$(dirname "$0")"/..
mkdir -p "$SOLDIR/deps/downloads/" 2>/dev/null || true
wget -O "$SOLDIR/deps/downloads/jsoncpp-1.8.4.tar.gz" https://github.com/open-source-parsers/jsoncpp/archive/1.8.4.tar.gz
mkdir -p "$REPO_ROOT/upload"
tar --owner user:1000 --group user:1000 -czf "$REPO_ROOT/upload/solidity_$versionstring.tar.gz" -C "$TEMPDIR" "solidity_$versionstring"
tar --owner 0 --group 0 -czf "$REPO_ROOT/upload/solidity_$versionstring.tar.gz" -C "$TEMPDIR" "solidity_$versionstring"
rm -r "$TEMPDIR"
)