Bug 11559 - sb2-build-libtool should cleanup also after failure
Summary: sb2-build-libtool should cleanup also after failure
Status: ASSIGNED
Alias: None
Product: Scratchbox 2
Classification: Unclassified
Component: generic (show other bugs)
Version: 1.99.0.x
Hardware: Other All
: medium normal
Assignee: Lauri Leukkunen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-12 06:21 UTC by Marc-Andre Lureau
Modified: 2007-07-13 19:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Marc-Andre Lureau 2007-07-12 06:21:04 UTC
Downloaded file could be placed under /tmp/sbox2-$USER/... to avoid duplicated download

instead of:

elmarco@elmarco-laptop:/tmp$ find . -name 'libtool-1.5.22.tar.gz'
./sb2_libtool_build.dvC1202/libtool-1.5.22.tar.gz
./sb2_libtool_build.yJD5492/libtool-1.5.22.tar.gz
./sb2_libtool_build.pB14587/libtool-1.5.22.tar.gz
./sb2_libtool_build.lh22922/libtool-1.5.22.tar.gz
./sb2_libtool_build.bm23306/libtool-1.5.22.tar.gz
./sb2_libtool_build.fX23704/libtool-1.5.22.tar.gz
./sb2_libtool_build.Jt24256/libtool-1.5.22.tar.gz
./sb2_libtool_build.lf26728/libtool-1.5.22.tar.gz
./sb2_libtool_build.an27190/libtool-1.5.22.tar.gz

I would like to see
elmarco@elmarco-laptop:/tmp$ find . -name 'libtool-1.5.22.tar.gz
./sb2-elmarco/cache/libtool-1.5.22.tar.gz
Comment 1 Lauri Leukkunen 2007-07-13 19:40:50 UTC
The real fix would be to add a signal handler to the sb2-build-libtool script
which would cleanup when the script breaks or is interrupted by the user.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.