From 108880603ffc9d81c8acb15de59a9e5730a32a73 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 17 May 2012 22:31:42 -0400 Subject: Makefile: source /etc/profile to set PATH for alsactl --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index def57c3..315e01d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CHECK = $(HOME)/.prefix:$(HOME):/usr/local:/usr:/ NANO_SHARE = $(firstword $(wildcard $(addsuffix /share/nano,$(subst :, ,$(CHECK))))) -ALSACTL=$(firstword $(shell which alsactl) echo) +ALSACTL=$(firstword $(shell . /etc/profile; which alsactl) echo) targets=.nanorc .folders .crontab.cookie .alsa.save all: $(targets) -- cgit v1.2.3