summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-05-17 22:31:42 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-05-17 22:31:42 -0400
commit108880603ffc9d81c8acb15de59a9e5730a32a73 (patch)
treee856fe326bcb4eda44db404bd6be45980e0ee7c9
parentbdde8aa04aaa3b01cdeebcad531846b1fbabce5d (diff)
Makefile: source /etc/profile to set PATH for alsactl
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)