Skip to content

Fix NUCI_TEST_CONFIG_DIR usage in config restore script

Ghost User requested to merge config-restore-test-dir-fix into master

Variable NUCI_TEST_CONFIG_DIR is used as path to the UCI configuration directory. However the config restore script uses DEST variable which now points to the root of recovered system. We don't want to change meaning of the NUCI_TEST_CONFIG_DIR variable (pointing to %root%/etc/config), so we'll just extract the root dir out of it.

Merge request reports