summaryrefslogtreecommitdiff
path: root/scripts/build/debug/200-duma.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-07-22 14:17:10 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-07-22 14:17:10 (GMT)
commitf4f3f526b8c29dee950adf99b4f66db59537fe89 (patch)
tree28a2ae9c98dcf9555c523000bc409ec3260bf026 /scripts/build/debug/200-duma.sh
parent7abf35f4729a8edfee6c1549f104fa13352cf65e (diff)
Remove garbage files left behind by downloads from sourceforge.net.
/trunk/scripts/build/debug/500-strace.sh | 4 4 0 0 ++++ /trunk/scripts/build/debug/200-duma.sh | 5 4 1 0 ++++- 2 files changed, 8 insertions(+), 1 deletion(-)
Diffstat (limited to 'scripts/build/debug/200-duma.sh')
-rw-r--r--scripts/build/debug/200-duma.sh5
1 files changed, 4 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() {