[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] ncurses/Makefile.in: run MKcaptab.awk with "sh -e"
From: |
Adrian Bunk |
Subject: |
[patch] ncurses/Makefile.in: run MKcaptab.awk with "sh -e" |
Date: |
Fri, 17 Oct 2008 12:47:34 +0300 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
If MKcaptab.awk fails (e.g. inside Scratchbox [1] when building for
armv6 using a too old qemu that segfaults) the build should fail here,
not later when the generated file gets used.
[1] http://scratchbox.org/
--- a/ncurses/Makefile.in
+++ b/ncurses/Makefile.in
@@ -212,7 +212,7 @@ make_hash$(BUILD_EXEEXT) : \
make_hash$(BUILD_EXEEXT) \
../include/hashsize.h \
$(tinfo)/MKcaptab.awk
- sh $(tinfo)/MKcaptab.awk $(AWK) $(srcdir)/../include/@TERMINFO_CAPS@ >
$@
+ sh -e $(tinfo)/MKcaptab.awk $(AWK) $(srcdir)/../include/@TERMINFO_CAPS@
> $@
./lib_keyname.c: keys.list $(base)/MKkeyname.awk
$(AWK) -f $(base)/MKkeyname.awk keys.list > $@
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch] ncurses/Makefile.in: run MKcaptab.awk with "sh -e",
Adrian Bunk <=