Fix builtin $var expansion

A special case added for #1252 needed adjustment.

Fixes #5639
This commit is contained in:
Aaron Gyes
2019-02-10 14:14:48 -08:00
parent 1701e2c558
commit 038fea1a47
3 changed files with 7 additions and 2 deletions

View File

@@ -9,6 +9,9 @@ $CMD1
set CMD2 echo '(' not expanded again
$CMD2
# Test using variables with the builtin decorator
builtin $CMD1
# Test implicit cd
set CMD3 /usr/bin
$CMD3 && echo $PWD

View File

@@ -1,3 +1,4 @@
basic command as variable
( not expanded again
basic command as variable
/usr/bin