From: Alessandro Ghedini Date: Sun, 27 Dec 2015 17:08:53 +0000 (+0100) Subject: scripts: fix zsh completion generation X-Git-Tag: curl-7_47_0~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb7cbf75a5dba5907c36852d8040f4e24a0e6fab;p=thirdparty%2Fcurl.git scripts: fix zsh completion generation The script should use the just-built curl, not the system one. This fixes zsh completion generation when no system curl is installed. --- diff --git a/scripts/Makefile.am b/scripts/Makefile.am index d10f46aaea..e485567661 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -28,7 +28,7 @@ all-local: $(ZSH_COMPLETION_FUNCTION_FILENAME) $(ZSH_COMPLETION_FUNCTION_FILENAME): zsh.pl @if ! test -x "$(PERL)"; then echo "No perl: can't install zsh.pl"; exit 0; fi - $(PERL) $(srcdir)/zsh.pl > $@ + $(PERL) $(srcdir)/zsh.pl $(top_builddir)/src/curl > $@ install-data-local: $(MKDIR_P) $(DESTDIR)$(ZSH_FUNCTIONS_DIR)