From 17458c57f115573a51af0702e65eb6620c80ef16 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 3 Mar 2022 13:58:35 +0100 Subject: [PATCH] fix errors found by bash -e Signed-off-by: Gwenhael Le Moine --- l/fmt/SlackBuild | 8 ++++---- l/hinnant-date/SlackBuild | 8 ++++---- l/spdlog/SlackBuild | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/l/fmt/SlackBuild b/l/fmt/SlackBuild index d2780f42..ab401a57 100755 --- a/l/fmt/SlackBuild +++ b/l/fmt/SlackBuild @@ -57,10 +57,10 @@ find $PKG -name \.git\* -exec rm -fr {} \; [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -# Strip binaries -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +# # Strip binaries +# cd $PKG +# find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +# find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null # embaumement mkdir -p $PKG/install diff --git a/l/hinnant-date/SlackBuild b/l/hinnant-date/SlackBuild index 7add24e8..4bb1f0c3 100755 --- a/l/hinnant-date/SlackBuild +++ b/l/hinnant-date/SlackBuild @@ -64,10 +64,10 @@ find $PKG -name \.git\* -exec rm -fr {} \; [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -# Strip binaries -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +# # Strip binaries +# cd $PKG +# find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +# find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null # embaumement mkdir -p $PKG/install diff --git a/l/spdlog/SlackBuild b/l/spdlog/SlackBuild index e29dd0fd..ea8d7dba 100755 --- a/l/spdlog/SlackBuild +++ b/l/spdlog/SlackBuild @@ -58,10 +58,10 @@ find $PKG -name \.git\* -exec rm -fr {} \; [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -# Strip binaries -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +# # Strip binaries +# cd $PKG +# find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +# find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null # embaumement mkdir -p $PKG/install