diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-11-08 15:24:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-11-08 15:24:01 +0200 |
commit | 6158e136e105aae2f032a159ce807db68abee281 (patch) | |
tree | 4a8b733556e297d2d8e6794d317be90200549f54 /old-tests/variable/override | |
parent | dbb7a5ffefefa1e6439464cac47ebfd90a913aa7 (diff) |
Make command line variable override scope syntax consistent with buildfile
Before:
$ b dir/:foo=bar ...
After:
$ b dir/foo=bar
Alternatively (the buildfile syntax):
$ b 'dir/ foo=bar'
Note that the (rarely used) scope visibility modifier now leads to a
double slash:
$ b dir//foo=bar
Diffstat (limited to 'old-tests/variable/override')
-rwxr-xr-x | old-tests/variable/override/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/old-tests/variable/override/test.sh b/old-tests/variable/override/test.sh index 710cf28..76409d8 100755 --- a/old-tests/variable/override/test.sh +++ b/old-tests/variable/override/test.sh @@ -83,7 +83,7 @@ p/d : X p/d/t : X EOF -test ./:v=X <<EOF +test ./v=X <<EOF / : . : X d : X @@ -93,7 +93,7 @@ p/d : X p/d/t : X EOF -test ./p/:v=X <<EOF +test ./p/v=X <<EOF / : . : d : |