diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2014-06-30 20:37:30 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-06-30 21:49:37 -0500 |
commit | f07ac6bce62c2958fd1804721e320f66c1ed4e1e (patch) | |
tree | 4db02fab8553497f45e7dc5e1921c5a0008273b9 /src | |
parent | c3027fb72ac0eddec05b79e0bf939191f148352f (diff) | |
download | blackbird-hostboot-f07ac6bce62c2958fd1804721e320f66c1ed4e1e.tar.gz blackbird-hostboot-f07ac6bce62c2958fd1804721e320f66c1ed4e1e.zip |
Fix bug in hbGenConfig.
Change-Id: I6ce97f6360aecd713935af459bc8ba80b71fde2e
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11893
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/build/tools/hbGenConfig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/build/tools/hbGenConfig b/src/build/tools/hbGenConfig index 4fd93ae88..d33b086f7 100755 --- a/src/build/tools/hbGenConfig +++ b/src/build/tools/hbGenConfig @@ -6,7 +6,9 @@ # # OpenPOWER HostBoot Project # -# COPYRIGHT International Business Machines Corp. 2014 +# Contributors Listed Below - COPYRIGHT 2014 +# [+] International Business Machines Corp. +# # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -236,7 +238,8 @@ sub evaluateExpr } # Call perl's 'eval' to perform the logical operations. - return eval $expr; + return 1 if eval $expr; + return 0; } # @sub outputResults |