]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_strip
Tighten parsing of DEB_BUILD_OPTIONS.
[debhelper.git] / dh_strip
index 5cc68834d5cf4ee307729c9f5a0af4c07c60cdc8..a38a66be30fb46494babc45bfa8490fc089b3725 100755 (executable)
--- a/dh_strip
+++ b/dh_strip
@@ -82,7 +82,7 @@ init(options => {
 });
 
 # This variable can be used to turn off stripping (see Policy).
-if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nostrip/) {
+if (get_buildoption('nostrip')) {
        exit;
 }