mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-20 15:06:14 -05:00
fix: continue deb build when mk-build-deps fails
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -195,9 +195,9 @@ deb: init-debian
|
|||||||
cd .build/deb/$(PKG) && dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements."
|
cd .build/deb/$(PKG) && dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements."
|
||||||
|
|
||||||
# Install build dependencies
|
# Install build dependencies
|
||||||
cd .build/deb/$(PKG) && sudo mk-build-deps --install --remove debian/control
|
cd .build/deb/$(PKG) && sudo mk-build-deps --install --remove debian/control || echo "mk-build-deps failed, continuing"
|
||||||
|
|
||||||
cd .build/deb/$(PKG) && debuild --preserve-env -e PATH -us -uc -b
|
cd .build/deb/$(PKG) && debuild --preserve-env -e PATH -us -uc -b -d
|
||||||
|
|
||||||
check-ppa:
|
check-ppa:
|
||||||
if [ $(OFFLINE) -eq 0 ]; then \
|
if [ $(OFFLINE) -eq 0 ]; then \
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
export BUILD_GUI_HELPER = @BUILD_GUI_HELPER@
|
export BUILD_GUI_HELPER = @BUILD_GUI_HELPER@
|
||||||
export DISABLE_RUST_TOOLCHAIN = 0
|
export DISABLE_RUST_TOOLCHAIN = 0
|
||||||
|
|
||||||
export PATH := /usr/lib/rust-@RUST_VERSION@/bin:$(PATH)
|
export PATH := /usr/lib/rust-@RUST_VERSION@/bin:/usr/local/cargo/bin:$(PATH)
|
||||||
|
|
||||||
%:
|
%:
|
||||||
which cargo
|
which cargo
|
||||||
|
|||||||
Reference in new issue
Block a user