lyx_mirror/src/tests/test_layout
Georg Baum 1e4700b277 Remove bash construct
Now it should work with any sh compatible shell
2015-05-16 11:11:08 +02:00

15 lines
213 B
Bash
Executable File

#!/bin/sh
retval=0
for i in ${srcdir}/../lib/layouts/*.layout
do
echo Testing $i...
dn=`dirname $i`
bn=`basename $i .layout`
./check_layout ${dn}/${bn}
if [ $? -ne 0 ]; then
retval=1
fi
done
exit $retval