For example...

$ make
GEN checkpkg
GEN commitpkg
GEN archco
archco: line 179: unexpected EOF while looking for matching `"'
archco: line 181: syntax error: unexpected end of file
make: *** [archco] Error 2

Signed-off-by: Dave Reisner <[email protected]>
---

 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 674d656..c7e8064 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,7 @@ edit = sed -e 
"s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/devtools|g"
        @m4 -P [email protected] | $(edit) >$@
        @chmod a-w "$@"
        @chmod +x "$@"
+       @bash -O extglob -n "$@"
 
 clean:
        rm -f $(BINPROGS) bash_completion zsh_completion
-- 
1.8.3.4

Reply via email to