mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1255 Win:Fixed 7z detection when it is not in path but under tools/bin
Lin:Switch from 7zr to 7za due to wider availability
This commit is contained in:
parent
01ec5bcc31
commit
10a0f69c82
@ -153,9 +153,13 @@ JAR := jar
|
||||
CD := cd
|
||||
GREP := grep
|
||||
ifneq ($(UNAME), Windows)
|
||||
SEVENZIP := 7zr
|
||||
SEVENZIP := 7za
|
||||
else
|
||||
SEVENZIP := 7za.exe
|
||||
ifneq ($(shell $(SEVENZIP) --version >/dev/null 2>&1 && $(ECHO) "found"), found)
|
||||
# no $(SEVENZIP) found in path. hope is in bin...
|
||||
SEVENZIP = $(TOOLS_DIR)/bin/7za.exe
|
||||
endif
|
||||
endif
|
||||
|
||||
# Echo in recipes is a bit tricky in a Windows Git Bash window in some cases.
|
||||
|
Loading…
Reference in New Issue
Block a user