]> granicus.if.org Git - curl/commitdiff
scripts/make: use $(EXEEXT) for executables
authorDaniel Stenberg <daniel@haxx.se>
Mon, 18 Apr 2016 13:50:57 +0000 (15:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 Apr 2016 13:51:32 +0000 (15:51 +0200)
Reported-by: bodop
Fixes #771

scripts/Makefile.am

index ef41454427256896d86a4485f81f3adf7d84db72..32dc1b9e2e13afc0d66a9e25f5f35bd75b553c6d 100644 (file)
@@ -5,7 +5,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -31,7 +31,7 @@ if CROSSCOMPILING
        @echo "NOTICE: we can't generate zsh completion when cross-compiling!"
 else # if not cross-compiling:
        @if ! test -x "$(PERL)"; then echo "No perl: can't install zsh.pl"; exit 0; fi
-       $(PERL) $(srcdir)/zsh.pl $(top_builddir)/src/curl > $@
+       $(PERL) $(srcdir)/zsh.pl $(top_builddir)/src/curl$(EXEEXT) > $@
 endif
 
 install-data-local: