Skip to content
Snippets Groups Projects
Commit c68cfe08 authored by Nowa Ammerlaan's avatar Nowa Ammerlaan Committed by jkito
Browse files

Replace which with command -v

which is an external command, command -v is the equivalent shell built-in.

Replacing the calls to which with command -v removes a build time dependency.

Bug: https://bugs.gentoo.org/940563


Signed-off-by: default avatarNowa Ammerlaan <nowa-ammerlaan@riseup.net>
parent f34f1f32
Branches
Tags
1 merge request!261Update obfsvpn to v1.3.0
Pipeline #244855 passed
......@@ -59,7 +59,7 @@ OPENVPN_WINDOWS_INSTALLER = https://build.openvpn.net/downloads/releases/OpenVPN
ifeq ($(PLATFORM), linux)
HAS_QTIFW :=
else
HAS_QTIFW := $(shell which binarycreator)
HAS_QTIFW := $(shell command -v binarycreator)
endif
OPENVPN_BIN = "$(HOME)/openvpn_build/sbin/$(shell grep OPENVPN branding/thirdparty/openvpn/build_openvpn.sh | head -n 1 | cut -d = -f 2 | tr -d '"')"
......
......@@ -13,7 +13,7 @@ LDFLAGS_VER="-X 0xacab.org/leap/bitmask-vpn/pkg/config/version.appVersion=${VERS
OSX_TARGET=12
WIN64="win64"
GO=`which go`
GO=`command -v go`
PROJECT=bitmask.pro
TARGET_GOLIB=lib/libgoshim.a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment