Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5c436a7

Browse files
committed
Catch errors in for loop in makefile
Add "|| exit" so that the rule aborts when a command fails.
1 parent b106195 commit 5c436a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pl/plpython/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ prep3:
138138
-e "s/LANGUAGE plpython2u/LANGUAGE plpython3u/g" \
139139
-e "s/EXTENSION plpythonu/EXTENSION plpython3u/g" \
140140
-e "s/EXTENSION plpython2u/EXTENSION plpython3u/g" \
141-
$$file >`echo $$file | sed 's,$(srcdir),python3,'`; \
141+
$$file >`echo $$file | sed 's,$(srcdir),python3,'` || exit; \
142142
done
143143

144144
clean3:

0 commit comments

Comments
 (0)