freebsd-ports/Mk/Scripts
Yuri Victorovich 67ce8cec00 Mk/Scripts: Fix the 'stripped' check from 'make check-plist' to report all unstripped files
Prior to this patch, the 'stripped' check always skipped the first
unstripped file.

It uses the "find [...] -exec sh -c 'readelf -S -- /dev/null $0 "$@" || :' -- {} +"
command. When arguments are passed to shell like this:
"sh -c 'script' arg1 arg2 arg3" - $@ within the script is assigned
to 'arg2 arg3', and $0 is assigned to arg1. This is a quirk in
how shells handle arguments in case when the script is passed
using -c.

This patch adds $0 to account for the first passed file.

PR:		270398
Approved by:	portmgr-lurkers (garga)
2023-06-01 23:45:29 -07:00
..
actual-package-depends.sh
cargo-crates-git-common.awk Uses/cargo: Fix invalid WRKSRC for crates fetched from GitLab with tag 2022-10-08 14:21:19 +02:00
cargo-crates-git-configure.awk
cargo-crates-git-fetch.awk
cargo-crates.awk
check-desktop-entries.sh
check-stagedir.sh
check-vulnerable.sh
check_leftovers.sh
checksum.sh
create-manifest.sh Mk/Scripts: Fix potential error creating .metadir/+DESC 2022-12-13 21:11:01 -08:00
depends-list.sh
desktop-categories.sh x11/budgie: + Budgie desktop environment. 2023-03-04 21:18:16 +03:00
dialog4ports.sh
do-depends.sh
do-fetch.sh
do-patch.sh
do-users-groups.sh
find-lib.sh
functions.sh
generate-symbols.sh
install-desktop-entries.sh
makesum.sh Mk/Scripts/makesum.sh: Fix for distinfo files with nothing but a TIMESTAMP 2022-12-25 23:05:55 +01:00
plist_sub_sed_sort.sh
ports_env.sh
qa.sh Mk/Scripts: Fix the 'stripped' check from 'make check-plist' to report all unstripped files 2023-06-01 23:45:29 -07:00
rust-compat11-canary.sh
security-check.awk
sed_checked.sh
smart_makepatch.sh
split-url.awk
strip_RECORD.py strip_RECORD.py: move to Mk/Scripts 2023-03-09 06:18:17 -05:00