diff options
author | Joey Hess <joey@kitenet.net> | 2011-09-09 11:17:27 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-09-09 11:17:27 -0400 |
commit | e845fcc47b244db30a8d19eaaf927de1d8c0a073 (patch) | |
tree | 81a08c988ca293f7ab097fe631ff9c5b88935cc6 /dh_strip | |
parent | f3afdd51e82972541cefebb15ec5a1d78ce67215 (diff) |
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.
Diffstat (limited to 'dh_strip')
-rwxr-xr-x | dh_strip | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |