Commit 5c436a79 authored by Peter Eisentraut's avatar Peter Eisentraut

Catch errors in for loop in makefile

Add "|| exit" so that the rule aborts when a command fails.
parent b106195b
......@@ -138,7 +138,7 @@ prep3:
-e "s/LANGUAGE plpython2u/LANGUAGE plpython3u/g" \
-e "s/EXTENSION plpythonu/EXTENSION plpython3u/g" \
-e "s/EXTENSION plpython2u/EXTENSION plpython3u/g" \
$$file >`echo $$file | sed 's,$(srcdir),python3,'`; \
$$file >`echo $$file | sed 's,$(srcdir),python3,'` || exit; \
done
clean3:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment