f24ee66
From 7e389ae76965fdbd4cdf0a8482592295489a48d7 Mon Sep 17 00:00:00 2001
f24ee66
From: David Tardon <dtardon@redhat.com>
f24ee66
Date: Tue, 24 Oct 2017 11:03:24 +0200
f24ee66
Subject: [PATCH] allow to override ENABLE_STRIP in the installer
f24ee66
f24ee66
... because we set ENABLE_STRIP in
f24ee66
instsetoo_native/CustomTarget_install.mk .
f24ee66
f24ee66
Change-Id: I4eaf66c53a0ec680688bf819b3a396865e7a3e33
f24ee66
---
f24ee66
 solenv/bin/modules/installer/environment.pm | 2 +-
f24ee66
 1 file changed, 1 insertion(+), 1 deletion(-)
f24ee66
f24ee66
diff --git a/solenv/bin/modules/installer/environment.pm b/solenv/bin/modules/installer/environment.pm
f24ee66
index 8afe3c12c782..38448a8ba9fb 100644
f24ee66
--- a/solenv/bin/modules/installer/environment.pm
f24ee66
+++ b/solenv/bin/modules/installer/environment.pm
f24ee66
@@ -122,8 +122,8 @@ sub set_global_environment_variables
f24ee66
     if ( $ENV{'RPM'} ) { $installer::globals::rpm = $ENV{'RPM'}; }
f24ee66
     if ( $ENV{'DONTCOMPRESS'} ) { $installer::globals::solarisdontcompress = 1; }
f24ee66
     if ( $ENV{'IGNORE_ERROR_IN_LOGFILE'} ) { $installer::globals::ignore_error_in_logfile = 1; }
f24ee66
-    if (( $ENV{'DISABLE_STRIP'} ) && ( $ENV{'DISABLE_STRIP'} ne '' )) { $installer::globals::strip = 0; }
f24ee66
     if (( $ENV{'ENABLE_STRIP'} ) && ( $ENV{'ENABLE_STRIP'} ne '' )) { $installer::globals::strip = 1; }
f24ee66
+    if (( $ENV{'DISABLE_STRIP'} ) && ( $ENV{'DISABLE_STRIP'} ne '' )) { $installer::globals::strip = 0; }
f24ee66
 
f24ee66
     if ( $installer::globals::localinstalldir ) { $installer::globals::localinstalldirset = 1; }
f24ee66
     # Special handling, if LOCALINSTALLDIR contains "~" in the path
f24ee66
-- 
f24ee66
2.14.1
f24ee66