Allow test-package.sh to be used in a clean tree

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-09-04 16:22:52 -07:00
parent f994d1c7d7
commit a5c16ae304

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}