From e845fcc47b244db30a8d19eaaf927de1d8c0a073 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 9 Sep 2011 11:17:27 -0400 Subject: Tighten parsing of DEB_BUILD_OPTIONS. A future nostripexceptonfullmoon option seems unlikely, but sure, let's be strict. More importantly, let's reuse good code. --- dh_strip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_strip') diff --git a/dh_strip b/dh_strip index 5cc68834..a38a66be 100755 --- 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; } -- cgit v1.2.3