mirror of
https://github.com/clearlinux/common.git
synced 2026-10-03 23:38:20 +00:00
common: default to always use sudo
The conditional setting of WITH_SUDO has been a no-op for several years, so just set the default value to `sudo`. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ LATEST_RPMS = $(wildcard rpms/*.rpm)
|
||||
DEBUGINFO_RPM = $(wildcard rpms/${PKG_NAME}-debuginfo-$(shell $(call queryspec,%{V}-%{R},${SPECFILE})).*.rpm)
|
||||
RPMS ?= $(LATEST_RPMS)
|
||||
|
||||
WITH_SUDO = $(shell cmp /usr/bin/mock /usr/sbin/mock &> /dev/null && echo sudo )
|
||||
WITH_SUDO = sudo
|
||||
|
||||
# MOCK_CONFIG_VAL is set in Makefile.shared
|
||||
MOCK_SMP_FLAGS=$(patsubst -j%, -D_smp_mflags\ -j%,$(filter -j%, $(MAKEFLAGS)))
|
||||
|
||||
Reference in New Issue
Block a user