This code was updated to use the new name of the schema, but I accidentally
left in the old code to check for the old schema's name. This worked fine
in my own tests, because I still have a copy of that file sitting around,
but fails on "make distcheck" or a clean source dir.
So this commit deletes the code that checks for the old schema file.
dnl Creates an empty database named $1.
m4_define([OVSDB_INIT],
[OVS_CHECK_LCOV(
- [SCHEMA=$abs_top_builddir/vswitchd/vswitch-idl.ovsschema
- if test ! -e $SCHEMA; then
- SCHEMA=$abs_top_srcdir/vswitchd/vswitch-idl.ovsschema
- if test ! -e $SCHEMA; then
- echo 'Failed to find vswitch-idl.ovsschema'
- exit 1
- fi
- fi
- ovsdb-tool create $1 $abs_top_srcdir/vswitchd/vswitch.ovsschema],
+ [ovsdb-tool create $1 $abs_top_srcdir/vswitchd/vswitch.ovsschema],
[0], [stdout], [ignore])
OVS_CHECK_LCOV(
[[ovsdb-tool transact $1 \