mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-08 15:44:29 -04:00
[libcalamares] Add an expand() to command lines and lists
- While this is primarily convenient for testing (e.g. checking that a command is expanded the way we expect), it simplifies some of the code because it's now clear that run() uses an expanded copy of the command-list to do the actual work.
This commit is contained in:
parent
d76dd2f8e0
commit
bbea67ecb4
5 changed files with 142 additions and 38 deletions
|
@ -28,6 +28,13 @@ DictionaryExpander::DictionaryExpander()
|
|||
{
|
||||
}
|
||||
|
||||
DictionaryExpander::DictionaryExpander( Calamares::String::DictionaryExpander&& other )
|
||||
: KWordMacroExpander( other.escapeChar() )
|
||||
, d( std::move( other.d ) )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
DictionaryExpander::~DictionaryExpander() {}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue