From 5c436a79e0f4e11f80c5878a0309ce60f79e17b1 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut <peter_e@gmx.net> Date: Mon, 2 May 2011 00:43:06 +0300 Subject: [PATCH] Catch errors in for loop in makefile Add "|| exit" so that the rule aborts when a command fails. --- src/pl/plpython/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile index 93425cdb345..2c0575501a4 100644 --- a/src/pl/plpython/Makefile +++ b/src/pl/plpython/Makefile @@ -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: -- GitLab