diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-17 22:31:42 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-17 22:31:42 -0400 |
commit | 108880603ffc9d81c8acb15de59a9e5730a32a73 (patch) | |
tree | e856fe326bcb4eda44db404bd6be45980e0ee7c9 | |
parent | bdde8aa04aaa3b01cdeebcad531846b1fbabce5d (diff) |
Makefile: source /etc/profile to set PATH for alsactl
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |