Commit ea8b46dd authored by POTTIER Francois's avatar POTTIER Francois

Fixed to avoid infinite loop.

parent 159fe729
# This script tries to find the Menhir executable.
# This is useful because we would like the demos
# This loop assumes that we are somewhere within
# the Menhir distribution, so by going up, we will
# end up at the root of the distribution.
while ! [ -d src ] ; do
while [ $attempts -gt 0 ] && ! [ -d src ] ; do
let attempts=attempts-1
cd ..
Markdown is supported
0% or
Finish editing this message first!
Please register or to comment