mirror of https://github.com/vector-im/riot-web
Fix package.sh gtar & darwin flags
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/27906/head
parent
81b8e864f7
commit
ccb3922202
|
@ -24,8 +24,8 @@ rm element-$version/config.json || true
|
||||||
$(dirname $0)/normalize-version.sh ${version} > element-$version/version
|
$(dirname $0)/normalize-version.sh ${version} > element-$version/version
|
||||||
|
|
||||||
# GNU/BSD compatibility workaround
|
# GNU/BSD compatibility workaround
|
||||||
tar_perms=(--owner=0 --group=0) && [ "$(uname)" == "Darwin" ] && sedi=(--uid=0 --gid=0)
|
tar_perms=(--owner=0 --group=0) && [ "$(uname)" == "Darwin" ] && tar_perms=(--uid=0 --gid=0)
|
||||||
gtar "${tar_perms[@]}" -chvzf dist/element-$version.tar.gz element-$version
|
tar "${tar_perms[@]}" -chvzf dist/element-$version.tar.gz element-$version
|
||||||
rm -r element-$version
|
rm -r element-$version
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in New Issue