aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2015-12-27 18:08:53 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-01-11 23:32:30 +0100
commitfb7cbf75a5dba5907c36852d8040f4e24a0e6fab (patch)
tree1c3e9b95b5aea149c358495393d04fb35d882cdf /scripts
parent92a20413ac74c28151851b7c58aff8a642d6ecea (diff)
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index d10f46aae..e48556766 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)