aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-26 16:02:26 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-26 16:02:26 +0400
commit4ce294e83ccc859c158cea62c299ee7176b19660 (patch)
tree279ba80726c8a985a17b059367b79145069735c9
parent83f5182ba45b915553940c51c5a3de4a7d1f5d73 (diff)
downloadcibs-4ce294e83ccc859c158cea62c299ee7176b19660.tar.gz
Rename variable $(root) to $(root-cmd)
-rw-r--r--rules/common.mk2
-rw-r--r--rules/ips.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/rules/common.mk b/rules/common.mk
index 7dcee53..c0d1c6c 100644
--- a/rules/common.mk
+++ b/rules/common.mk
@@ -29,7 +29,7 @@ bits := 32
# Prepended to commands which require root privileges
# May be overriden in /etc/cibs/cibs.conf to, for example, pfexec
-root := sudo
+root-cmd := sudo
mach := $(shell uname -p)
mach32 :=
diff --git a/rules/ips.mk b/rules/ips.mk
index 845153f..36d76e2 100644
--- a/rules/ips.mk
+++ b/rules/ips.mk
@@ -149,7 +149,7 @@ check-ips-build-dep-stamp:
# Install build dependencies:
build-dep:
- $(root) pkg install $(build-depends)
+ $(root-cmd) pkg install $(build-depends)
.PHONY: publish build-dep pre-publish