Merge pull request #824 from stilor/testpkg

Allow test-package.sh to be used in a clean tree
This commit is contained in:
Alexey Neyman 2017-09-04 16:23:24 -07:00 committed by GitHub
commit 67d16f7887

View File

@ -189,8 +189,8 @@ EOF
CT_EndStep
}
mv .config .config-saved
[ -r .config ] && mv .config .config-saved
. maintainer/package-versions
mv .config-saved .config
[ -r .config-saved ] && mv .config-saved .config
rm -rf ${CT_TARBALLS_DIR} ${CT_COMMON_SRC_DIR}