mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 05:31:47 +00:00
Cleanup "autogen/" if we have successful build
This way, we only leave around autogenerated files if the build fails (which is reasonable IMO, since that's when you'd need them for debugging the build failure). Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
@@ -265,6 +265,9 @@ main() {
|
||||
bundle $SCRIPTDIR/make/$bundle
|
||||
echo
|
||||
done
|
||||
|
||||
# if we get all the way through successfully, let's delete our autogenerated code!
|
||||
rm -r autogen
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
Reference in New Issue
Block a user