Open dkozel opened 6 years ago
In prefix init sysutils.mkdir_writable is used https://github.com/gnuradio/pybombs/blob/master/pybombs/commands/prefix.py#L266
prefix init
rather than mkdirp_writable. https://github.com/gnuradio/pybombs/blob/master/pybombs/utils/sysutils.py#L77
The result is that pybombs prefix init ~/prefix/default/ will fail if ~/prefix does not already exist.
pybombs prefix init ~/prefix/default/
Which behavior is the better one?
In
prefix init
sysutils.mkdir_writable is used https://github.com/gnuradio/pybombs/blob/master/pybombs/commands/prefix.py#L266rather than mkdirp_writable. https://github.com/gnuradio/pybombs/blob/master/pybombs/utils/sysutils.py#L77
The result is that
pybombs prefix init ~/prefix/default/
will fail if ~/prefix does not already exist.Which behavior is the better one?