Calculation of file path may be performed in two different places -
first is the original location of the config file, second is on copied
one. Adding new option WRAPPER will take the same role as $CONFIG,
except it will be only parsed on copied configuration file.
An alternative would be to check existence in both places, but I'd like
to have it explicit.
Removing _kickstart_option in favor of _normalize_options method to
detect and replace relative paths with absolute ones. Dictionary with
changed options lands as a commandline switches for fs-uae during
execution.
This changeset fixes tar behavior on creating archive, like:
tar cf foo.tar .
which include also archive file itself, so that tar reports an error
`file changed as we read it` during appending archive file to itself.
This changest is fixing that by replacing dot with list of items to be
added to the archive (similar as in RarArchive.create).
To give user a possibility to choose what archiver he can use another
options was introduced for cd32 and archive wrapper modules. This option
will indicate what archiver should be used for compressing the save
state directories.
Also, new command was added to utils - run_command which is an
generalized subprocess.call function.
Requirements is now added with module six, which was needed to detect
string-like objects in sane way.
Added safe guards for get_config function, introduced CmdOption class
for convenient accessing options as a dict keys with option to make them
as a list of commandline options suitable for passing to fs-uae.