aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/make.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-01-07 15:13:45 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-01-07 15:13:45 +1300
commit6ea9d5d4bf5ce0fcea4395d82ddef7f5dc8d6097 (patch)
treeb5462abb1fc1cd46d15d2de58366bb8aaed4a8b0 /bash/bashrc.d/make.bash
parentAdd man page section to comment (diff)
downloaddotfiles-6ea9d5d4bf5ce0fcea4395d82ddef7f5dc8d6097.tar.gz
dotfiles-6ea9d5d4bf5ce0fcea4395d82ddef7f5dc8d6097.zip
Variable assignments are not Makefile targets
Diffstat (limited to 'bash/bashrc.d/make.bash')
-rw-r--r--bash/bashrc.d/make.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/make.bash b/bash/bashrc.d/make.bash
index f4d0f5fd..d499649f 100644
--- a/bash/bashrc.d/make.bash
+++ b/bash/bashrc.d/make.bash
@@ -8,7 +8,7 @@ _make() {
local -a targets tokens
local line target token
while read -r line ; do
- if [[ $line == *:* ]] ; then
+ if [[ $line == *:* && $line != *:=* ]] ; then
target=$line
target=${target%%:*}
target=${target% }