summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Rinnestam <fredrik@crux.nu>2017-02-18 18:04:41 +0100
committerFredrik Rinnestam <fredrik@crux.nu>2017-02-18 18:04:59 +0100
commit8a13560ef80af0dd2fd130f76ad25399500416db (patch)
tree04eb037d8cfc35463990aaf4c7e15ab06ba0d235
parent8ecaa590f089f360d14de8b8819582c773b77c6d (diff)
downloadpkgutils-8a13560ef80af0dd2fd130f76ad25399500416db.tar.gz
pkgutils-8a13560ef80af0dd2fd130f76ad25399500416db.tar.xz
pkgmk: Actually strip executables and objects. Patch by Roman Oreshnikov
FS#1378
-rwxr-xr-xpkgmk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgmk.in b/pkgmk.in
index 6c45fcc2..d282e7e7 100755
--- a/pkgmk.in
+++ b/pkgmk.in
@@ -426,10 +426,10 @@ strip_files() {
find . -type f -printf "%P\n" | $FILTER | while read FILE; do
case $(file -b "$FILE") in
- *ELF*executable*not\ stripped)
+ *ELF*executable*not\ stripped,*)
strip --strip-all "$FILE"
;;
- *ELF*shared\ object*not\ stripped)
+ *ELF*shared\ object*not\ stripped,*)
strip --strip-unneeded "$FILE"
;;
current\ ar\ archive)

Generated by cgit