From 0f87955a2968ad6737ea12920bae29b3e1b85483 Mon Sep 17 00:00:00 2001 From: evandrocoan Date: Mon, 24 Feb 2020 21:36:14 -0300 Subject: [PATCH] Fixed rslib/Makefile using find from Windows, instead from POSIX --- rslib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rslib/Makefile b/rslib/Makefile index 4e322e392..4c09cada8 100644 --- a/rslib/Makefile +++ b/rslib/Makefile @@ -1,5 +1,6 @@ SHELL := /bin/bash ECHOCMD := /bin/echo -e +FIND_EXEC := $(if $(wildcard /bin/find),,/usr)/bin/find .SHELLFLAGS := -eu -o pipefail -c .DELETE_ON_ERROR: @@ -25,7 +26,7 @@ develop: .build/vernum ftl/repo ftl/repo: (cd ftl && ./scripts/fetch-latest-translations) -ALL_SOURCE := $(shell find src -type f) $(wildcard ftl/*.ftl) +ALL_SOURCE := $(shell ${FIND_EXEC} src -type f) $(wildcard ftl/*.ftl) # nightly currently required for ignoring files in rustfmt.toml RUST_TOOLCHAIN := $(shell cat rust-toolchain)