From f0300e5ca87334a6dd0ad0dcaab57a50d3172dc4 Mon Sep 17 00:00:00 2001 From: phyzical <5182053+phyzical@users.noreply.github.com> Date: Thu, 3 Oct 2024 16:28:32 +0800 Subject: [PATCH] add perm checks --- pkg_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_build.sh b/pkg_build.sh index 72d7149..9539fe2 100755 --- a/pkg_build.sh +++ b/pkg_build.sh @@ -24,7 +24,7 @@ if [[ "$(uname)" == "Darwin" ]]; then tar_command="gtar" sed_prefix="-i ''" fi -$tar_command --owner=0 --group=0 -cJf "$filename" . +$tar_command --owner=root --group=root -cJf "$filename" . cd - || exit