From 40dfd1e0705b422ccac43de04248023281e4cce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Fri, 19 Jan 2018 11:23:28 +0200 Subject: [PATCH] MXS-1620: Fix RPM packaging scripts Unconditionally replace the `strip` binary with a dummy executable. --- BUILD/build_rpm_local.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BUILD/build_rpm_local.sh b/BUILD/build_rpm_local.sh index 39006c778..d7edbc9c7 100755 --- a/BUILD/build_rpm_local.sh +++ b/BUILD/build_rpm_local.sh @@ -18,11 +18,11 @@ then ctest --output-on-failure || exit 1 fi -if [ $remove_strip == "yes" ] ; then - sudo rm -rf /usr/bin/strip - sudo touch /usr/bin/strip - sudo chmod a+x /usr/bin/strip -fi +# Never strip binaries +sudo rm -rf /usr/bin/strip +sudo touch /usr/bin/strip +sudo chmod a+x /usr/bin/strip + sudo make package res=$? if [ $res != 0 ] ; then