mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-10-02 00:41:44 +02:00
Don't try to expand a single-character Makefile variable if
it is a digit.
This commit is contained in:
parent
4a007b41d7
commit
dca8aa342a
@ -17,7 +17,7 @@ expandVars() {
|
||||
open='{'
|
||||
close='}'
|
||||
;;
|
||||
([[:alnum:]]*)
|
||||
([[:alpha:]]*)
|
||||
open=''
|
||||
close=''
|
||||
var=${(s::)var[1]}
|
||||
|
Loading…
Reference in New Issue
Block a user