From e013226fb50f62eaf4d43eb01f8b007a78fa6a24 Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 14 Nov 2022 20:14:28 +0000 Subject: pkg_strip: add $CPT_NOSTRIP environment variable FossilOrigin-Name: 07ce90d1cd5e13f5773d8a035266c2e34e3e85233bb1f5b4027427e885b37111 --- src/cpt-lib.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpt-lib.in b/src/cpt-lib.in index 37c0860..0616622 100644 --- a/src/cpt-lib.in +++ b/src/cpt-lib.in @@ -974,7 +974,7 @@ pkg_strip() { # system as well as on the tarballs we ship for installation. # Package has stripping disabled, stop here. - [ -f "$mak_dir/$pkg/nostrip" ] && return + [ "$CPT_NOSTRIP" ] || [ -f "$mak_dir/$pkg/nostrip" ] && return log "$1" "Stripping binaries and libraries" -- cgit v1.2.3