From bca96de75c83037092c5bfcd73708cb6c66af565 Mon Sep 17 00:00:00 2001 From: evandrocoan Date: Mon, 24 Feb 2020 15:32:31 -0300 Subject: [PATCH] Fixed misspelling on README.development and added missing FIND_EXEC to rspy/Makefile --- README.development | 2 +- rspy/Makefile | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.development b/README.development index 6d69a9c24..1c5b06b67 100644 --- a/README.development +++ b/README.development @@ -96,5 +96,5 @@ Windows users 1. Go to the menu `Build -> Build Solution` 1. Copy the file `portaudio\build\msvc\x64\Release\portaudio.lib` to `C:\Python\libs\` (Or whatever your Windows Python is installed) 1. Open a `cmd.exe` (command prompt) on the anki repository and run the command `sh run` - 1. Do not `bash run` because it my call for Windows Subsystem fo Linux + 1. Do not use `bash run` because it my call for Windows Subsystem fo Linux 1. Do not use any Cygwin terminal as `mintty.exe` because the `rust lang` compiler does not work with them diff --git a/rspy/Makefile b/rspy/Makefile index 7c9ed30ea..7af93253f 100644 --- a/rspy/Makefile +++ b/rspy/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: @@ -21,8 +22,8 @@ all: develop develop: .build/develop DEPS := .build/tools .build/vernum ../meta/buildhash $(wildcard $(QT_FTLS)/*.ftl) \ - $(shell find ../rslib/src -name '*.rs') $(wildcard ../proto/*) \ - $(shell find ../rslib/ftl -type f) + $(shell ${FIND_EXEC} ../rslib/src -name '*.rs') $(wildcard ../proto/*) \ + $(shell ${FIND_EXEC} ../rslib/ftl -type f) .build/develop: $(DEPS) touch ../proto/backend.proto