1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-22 21:23:10 +02:00

b2/test/Common: also provide empty hierarchy if the input is empty; name the file

This commit is contained in:
Werner Almesberger 2012-06-03 10:18:37 -03:00
parent da1010f92a
commit 4a586fc44f

View File

@ -13,8 +13,8 @@
run_boom()
{
if [ "`sed -n '/^!-/p;q' _in`" ]; then
args="<(echo ';')"
if [ "`sed -n '/^!-/p;q' _in`" -o ! -s _in ]; then
args="-N dummy <(echo ';')"
else
args="-N h <(sed -n '/^!-/q;p' _in)"
fi