Tests: support non-standard zsh location. See #283

This commit is contained in:
Alexandre Pujol 2018-01-03 14:49:08 +00:00
parent b20daeea6f
commit c7dc379c0d
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/ . # along with this program. If not, see http://www.gnu.org/licenses/ .
SHELL := /usr/bin/zsh SHELL := $(shell which zsh)
SHELL_PATH ?= $(SHELL) SHELL_PATH ?= $(SHELL)
SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH)) SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
RM ?= rm -f RM ?= rm -f

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env zsh
# #
# Copyright (c) 2008-2012 Git project # Copyright (c) 2008-2012 Git project
# #