1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-23 03:12:49 +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() run_boom()
{ {
if [ "`sed -n '/^!-/p;q' _in`" ]; then if [ "`sed -n '/^!-/p;q' _in`" -o ! -s _in ]; then
args="<(echo ';')" args="-N dummy <(echo ';')"
else else
args="-N h <(sed -n '/^!-/q;p' _in)" args="-N h <(sed -n '/^!-/q;p' _in)"
fi fi