projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b106195
)
Catch errors in for loop in makefile
author
Peter Eisentraut
<
[email protected]
>
Sun, 1 May 2011 21:43:06 +0000
(
00:43
+0300)
committer
Peter Eisentraut
<
[email protected]
>
Sun, 1 May 2011 22:05:08 +0000
(
01:05
+0300)
Add "|| exit" so that the rule aborts when a command fails.
src/pl/plpython/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/src/pl/plpython/Makefile
b/src/pl/plpython/Makefile
index 93425cdb3450629a31a9175e18f1c34a6b713df6..2c0575501a488f918bb572c89f9012c2032dd31d 100644
(file)
--- 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: