commit 1e4700b277bedf2f28a8fe9a9565afc31bffee3e
Author: Georg Baum <[email protected]>
Date: Sat May 16 11:11:08 2015 +0200
Remove bash construct
Now it should work with any sh compatible shell
diff --git a/src/tests/test_layout b/src/tests/test_layout
index d82c48e..d031981 100755
--- a/src/tests/test_layout
+++ b/src/tests/test_layout
@@ -6,7 +6,8 @@ do
echo Testing $i...
dn=`dirname $i`
bn=`basename $i .layout`
- if ! ./check_layout ${dn}/${bn}; then
+ ./check_layout ${dn}/${bn}
+ if [ $? -ne 0 ]; then
retval=1
fi
done