Skip to content

Commit

Permalink
Fix package.sh gtar & darwin flags
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
  • Loading branch information
t3chguy committed Aug 7, 2024
1 parent 81b8e86 commit ccb3922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccb3922

Please sign in to comment.