libpaylod: fix lpgcc logic statement
The -z "${V}" sure must have meant to be -n "${V}", but come to think
of it, this check is not necessary, as the following check will
succeed if and only if V is set to 1.
BUG=none
TEST=verified that adding V=1 to the environment causes the lpgcc
debug statements to show up in the output.
Change-Id: I1eb43ef49aeb4f16aef4fbee3a1037e853f9b40f
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/200501
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
This commit is contained in:
parent
16dde87595
commit
7d69a292b1
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@
|
|||
## SUCH DAMAGE.
|
||||
|
||||
# GCC wrapper for libpayload
|
||||
if [ -z "${V}" ] && [ "${V}" = 1 ]; then
|
||||
if [ "${V}" = "1" ]; then
|
||||
DEBUGME=1
|
||||
else
|
||||
DEBUGME=0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue