Fix package.sh gtar & darwin flags
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
81b8e864f7
commit
ccb3922202
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ rm element-$version/config.json || true
|
|||
$(dirname $0)/normalize-version.sh ${version} > element-$version/version
|
||||
|
||||
# GNU/BSD compatibility workaround
|
||||
tar_perms=(--owner=0 --group=0) && [ "$(uname)" == "Darwin" ] && sedi=(--uid=0 --gid=0)
|
||||
gtar "${tar_perms[@]}" -chvzf dist/element-$version.tar.gz element-$version
|
||||
tar_perms=(--owner=0 --group=0) && [ "$(uname)" == "Darwin" ] && tar_perms=(--uid=0 --gid=0)
|
||||
tar "${tar_perms[@]}" -chvzf dist/element-$version.tar.gz element-$version
|
||||
rm -r element-$version
|
||||
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue