]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/env-util.c
Allow braceless variables to be expanded
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 11 Feb 2017 19:05:10 +0000 (14:05 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 21 Feb 2017 04:30:50 +0000 (23:30 -0500)
commitccad1fd07ce4eb40a2fcf81cfb55d9b41fdcac48
tree41b72c7747d8072e212ed58fd8b5c1e71c18d0b7
parentcb4499d0056a7c974d7d3695cc355c7e77edc938
Allow braceless variables to be expanded

(Only in environment.d files.)

We have only basic compatibility with shell syntax, but specifying variables
without using braces is probably more common, and I think a lot of people would
be surprised if this didn't work.
man/environment.d.xml
src/basic/env-util.c
src/basic/env-util.h
src/basic/fileio.c
src/test/test-env-util.c
src/test/test-fileio.c