Catch errors in for loop in makefile

Add "|| exit" so that the rule aborts when a command fails.
This commit is contained in:
Peter Eisentraut 2011-05-02 00:43:06 +03:00
parent b106195b17
commit 5c436a79e0

View File

@ -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: