Skip to content

Commit

Permalink
Update NEW-junest.sh
Browse files Browse the repository at this point in the history
- fix "tar" on multiple arguments with the name similar or equal to "$APP"
  • Loading branch information
ivan-hc authored Jan 15, 2025
1 parent 2e117a9 commit 2a2e821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NEW-junest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ _extract_main_package() {
pkg_full_path=$(find ./"$APP".AppDir -type f -name "$APP-*zst")
else
for p in $pkg_full_path; do
if tar "$p" .PKGINFO -O | grep -q "pkgname = $APP$"; then
if tar fx "$p" .PKGINFO -O | grep -q "pkgname = $APP$"; then
pkg_full_path="$p"
fi
done
Expand Down

0 comments on commit 2a2e821

Please sign in to comment.