mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
OP-1254 Check if p7zip is installed, use 7zr rather than 7z
This commit is contained in:
parent
0dff941cbe
commit
a600ed93dc
@ -145,7 +145,7 @@ OPENSSL := openssl
|
||||
ANT := ant
|
||||
JAVAC := javac
|
||||
JAR := jar
|
||||
SEVENZIP := 7z
|
||||
SEVENZIP := 7zr
|
||||
CD := cd
|
||||
GREP := grep
|
||||
# Echo in recipes is a bit tricky in a Windows Git Bash window in some cases.
|
||||
@ -317,7 +317,10 @@ define LINUX_QT_INSTALL_TEMPLATE
|
||||
.PHONY: $(addprefix qt_sdk_, install clean distclean)
|
||||
|
||||
qt_sdk_install: qt_sdk_clean | $(DL_DIR) $(TOOLS_DIR)
|
||||
|
||||
if ! $(SEVENZIP) >/dev/null 2>&1; then \
|
||||
$(ECHO) $(MSG_NOTICE) "Please install the p7zip for your distribution. i.e.: sudo apt-get install p7zip." && \
|
||||
exit 1; \
|
||||
fi
|
||||
$(call DOWNLOAD_TEMPLATE,$(3),$(5),"$(4)")
|
||||
# Explode .run file into install packages
|
||||
@$(ECHO) $(MSG_EXTRACTING) $$(call toprel, $(1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user