diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-05-17 22:30:52 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@filifjonkan.site> | 2011-05-17 22:36:57 +0300 |
commit | 9298dd2cd28c4473beb391157461351a121d207d (patch) | |
tree | d792dc2ec67a25cd012020909ee647682f38d79d /download | |
parent | 3d97229173f40de402bdee53ef2299a7245f5580 (diff) |
Don't overwrite config.log from the configure script
Diffstat (limited to 'download')
-rwxr-xr-x | download | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -273,5 +273,21 @@ done [ -x "post_download" ] || { echo "'post_download' script not found, run ./autogen.sh." ; exit 1 ; } -./post_download --build=$BUILD_PLATFORM --host=$HOST_PLATFORM || exit 1 +# Save the config.log from the main configure script +# and restore it after running post_download. +mv config.log config.log.save + +./post_download --build=$BUILD_PLATFORM --host=$HOST_PLATFORM +post_download_status=$? + +test -f config.log && mv config.log post_download.log +mv config.log.save config.log + +exit $post_download_status + +# Local Variables: +# tab-width: 4 +# indent-tabs-mode: nil +# End: + # vim:set shiftwidth=4 softtabstop=4 expandtab: |