fix: homebrew permissions on macOS (hopefully)
All checks were successful
Deploy Website / deploy-website (push) Successful in 40s
Publish kewt-git to AUR / publish-aur-git (push) Successful in 20s
Release Standalone Builder / build (release) Successful in 26s
Release Standalone Builder / publish-aur (release) Successful in 20s
Release Standalone Builder / publish-homebrew (release) Successful in 7s
All checks were successful
Deploy Website / deploy-website (push) Successful in 40s
Publish kewt-git to AUR / publish-aur-git (push) Successful in 20s
Release Standalone Builder / build (release) Successful in 26s
Release Standalone Builder / publish-aur (release) Successful in 20s
Release Standalone Builder / publish-homebrew (release) Successful in 7s
This commit is contained in:
@@ -17,10 +17,10 @@ tmpdir=$(mktemp -d "/tmp/kewt.XXXXXX")
|
||||
trap 'rm -rf "$tmpdir"' EXIT HUP INT TERM
|
||||
|
||||
# Extract payload
|
||||
sed '1,/^#==PAYLOAD==$/d' "$0" | tar -xz -C "$tmpdir"
|
||||
LC_ALL=C sed '1,/^#==PAYLOAD==$/d' "$0" | tar -xz -C "$tmpdir"
|
||||
|
||||
# Pass control to the extracted script
|
||||
KEWT_INVOKED_AS="$0" "$tmpdir/kewt.sh" "$@"
|
||||
KEWT_INVOKED_AS="$0" sh "$tmpdir/kewt.sh" "$@"
|
||||
exit $?
|
||||
|
||||
#==PAYLOAD==
|
||||
|
||||
Reference in New Issue
Block a user