[ooo-build-commit] .: download.in

René Engelhard rene at kemper.freedesktop.org
Wed Sep 29 14:24:46 PDT 2010


 download.in |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 8bf0eea3c7048874c44344db58057e06cb82c299
Author: Rene Engelhard <rene at debian.org>
Date:   Wed Sep 29 23:24:03 2010 +0200

    improve my last fix, don't hardcode but use wildcards

diff --git a/download.in b/download.in
index e1a6ace..5177dd7 100755
--- a/download.in
+++ b/download.in
@@ -636,8 +636,10 @@ download_files (\@files, \%SRC_URLS, '@SRCDIR@');
 download_external_sources();
 # those are expected in $TARFILE_LOCATION but put into @SRCDIR@ by
 # download_files()
-move("@SRCDIR@/e3738abd0d3ce1870dc1fd1f22bba5b1-icu4c-4_2_1-src.tgz", "$ENV{TARFILE_LOCATION}/e3738abd0d3ce1870dc1fd1f22bba5b1-icu4c-4_2_1-src.tgz" );
-move("@SRCDIR@/0f63ee487fda8f21fafa767b3c447ac9-ixion-0.2.0.tar.gz", "$ENV{TARFILE_LOCATION}/0f63ee487fda8f21fafa767b3c447ac9-ixion-0.2.0.tar.gz" );
+my @lo_external_sources = glob '@SRCDIR@/????????????????????????????????-*';
+foreach (@lo_external_sources) {
+	move("$_", "$ENV{TARFILE_LOCATION}");
+}
 
 open (FILELIST, ">download.list");
 print FILELIST join ("\n", @files);


More information about the ooo-build-commit mailing list