From d6276d2d81eb14b4d7a7cdcec51f3e77b676e4e0 Mon Sep 17 00:00:00 2001 From: David Howells Date: Nov 28 2012 16:32:03 +0000 Subject: Make any non-zero value in a build_foo macro work. --- diff --git a/cross-gcc.spec b/cross-gcc.spec index 575e23b..9066728 100644 --- a/cross-gcc.spec +++ b/cross-gcc.spec @@ -238,7 +238,7 @@ function prep_target () { target=$1 cond=$2 - if [ $cond = 1 ] + if [ $cond != 0 ] then echo $1 >&5 fi