]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/functions.sh
Update wvtool
[omk.git] / tests / functions.sh
index 0d6122b43a956e1cb8d68e01eae4cba34ac0eb5d..8affc529f6aab5a0a01dae5175c6c84de3eff2ef 100644 (file)
@@ -7,7 +7,9 @@
 # Exit on the first error
 set -e
 
-WVPASS . ../../$(basename $0 .sh).files
+if test -f ../../$(basename $0 .sh).files; then
+    WVPASS . ../../$(basename $0 .sh).files
+fi
 omkize
 
 findup() {
@@ -22,7 +24,7 @@ findup() {
            exit 1
        fi
     done
-    
+
     echo $PWD/$arg
     cd $wd
 }