diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-01-07 15:13:45 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-01-07 15:13:45 +1300 |
commit | 6ea9d5d4bf5ce0fcea4395d82ddef7f5dc8d6097 (patch) | |
tree | b5462abb1fc1cd46d15d2de58366bb8aaed4a8b0 /bash | |
parent | Add man page section to comment (diff) | |
download | dotfiles-6ea9d5d4bf5ce0fcea4395d82ddef7f5dc8d6097.tar.gz dotfiles-6ea9d5d4bf5ce0fcea4395d82ddef7f5dc8d6097.zip |
Variable assignments are not Makefile targets
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/make.bash | 2 |
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% } |