summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-07-26 15:12:33 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-07-26 15:12:33 (GMT)
commit25f9fdd5b367a5b3956980514c3a49049c58c103 (patch)
tree114fe84a81c69c1253bc7ee080f5ef9e1a8621b2
parent3277d5a526c5cd83836ec68d17cd47e931cae128 (diff)
Backport #849 from trunk:
Remove garbage files left behind by downloads from sourceforge.net. /branches/1.2/scripts/build/debug/500-strace.sh | 4 4 0 0 ++++ /branches/1.2/scripts/build/debug/200-duma.sh | 5 4 1 0 ++++- 2 files changed, 8 insertions(+), 1 deletion(-)
-rw-r--r--scripts/build/debug/200-duma.sh5
-rw-r--r--scripts/build/debug/500-strace.sh4
2 files changed, 8 insertions, 1 deletions
diff --git a/scripts/build/debug/200-duma.sh b/scripts/build/debug/200-duma.sh
index 7e23973..954aa83 100644
--- a/scripts/build/debug/200-duma.sh
+++ b/scripts/build/debug/200-duma.sh
@@ -12,10 +12,13 @@ do_debug_duma_get() {
# D.U.M.A. doesn't separate its name from its version with a dash,
# but with an underscore. Create a link so that crosstool-NG can
# work correctly:
- cd "${CT_TARBALLS_DIR}"
+ CT_Pushd "${CT_TARBALLS_DIR}"
duma_ext=$(CT_GetFileExtension "duma_${CT_DUMA_VERSION}")
rm -f "duma-${CT_DUMA_VERSION}${duma_ext}"
ln -sf "duma_${CT_DUMA_VERSION}${duma_ext}" "duma-${CT_DUMA_VERSION}${duma_ext}"
+ # Downloading from sourceforge leaves garbage, cleanup
+ rm -f showfiles.php\?group_id\=*
+ CT_Popd
}
do_debug_duma_extract() {
diff --git a/scripts/build/debug/500-strace.sh b/scripts/build/debug/500-strace.sh
index c546875..26fcc99 100644
--- a/scripts/build/debug/500-strace.sh
+++ b/scripts/build/debug/500-strace.sh
@@ -9,6 +9,10 @@ do_print_filename() {
do_debug_strace_get() {
CT_GetFile "strace-${CT_STRACE_VERSION}" http://mesh.dl.sourceforge.net/sourceforge/strace/
+ # Downloading from sourceforge leaves garbage, cleanup
+ CT_Pushd "${CT_TARBALLS_DIR}"
+ rm -f showfiles.php\?group_id\=*
+ CT_Popd
}
do_debug_strace_extract() {