mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05: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:
parent
83bf0ac96d
commit
44adbf23b5
1 changed files with 3 additions and 0 deletions
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in a new issue