diff options
author | Alexey Neyman <stilor@att.net> | 2017-09-04 16:22:52 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-09-04 16:22:52 -0700 |
commit | a5c16ae30492762222124d55329cf53503c5dbff (patch) | |
tree | 599e17764c3cfa53ac00a36ff3e830b22553fe69 /maintainer | |
parent | f994d1c7d7cd62a474a09cadc89ddd15da427fef (diff) | |
download | crosstool-ng-a5c16ae30492762222124d55329cf53503c5dbff.tar.gz crosstool-ng-a5c16ae30492762222124d55329cf53503c5dbff.tar.bz2 crosstool-ng-a5c16ae30492762222124d55329cf53503c5dbff.zip |
Allow test-package.sh to be used in a clean tree
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'maintainer')
-rwxr-xr-x | maintainer/test-packages.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintainer/test-packages.sh b/maintainer/test-packages.sh index d6b84be0..42aaad7b 100755 --- a/maintainer/test-packages.sh +++ b/maintainer/test-packages.sh @@ -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} |