From 44df6f2bc0e9290b76802b73bc62d0171d46dbdf Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Wed, 15 Aug 2007 16:12:56 +0000 Subject: [PATCH] Bug 391308 - Ship the .tar.bz2 SDK for mac, r=cf git-svn-id: svn://10.0.0.236/trunk@232122 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/tools/tinderbox/post-mozilla-rel.pl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mozilla/tools/tinderbox/post-mozilla-rel.pl b/mozilla/tools/tinderbox/post-mozilla-rel.pl index 973cd4ae32b..9954a4fc592 100755 --- a/mozilla/tools/tinderbox/post-mozilla-rel.pl +++ b/mozilla/tools/tinderbox/post-mozilla-rel.pl @@ -435,8 +435,13 @@ sub packit { TinderUtils::print_log("No files to copy\n"); } - # Also copy any built ZIP archives (such as SDK) - TinderUtils::run_shell_command("cp $package_location/../*.zip $stagedir/"); + # Also copy any built archives (such as SDK) + if (glob "$package_location/../*.zip") { + TinderUtils::run_shell_command("cp $package_location/../*.zip $stagedir/"); + } + if (glob "$package_location/../*.tar.*") { + TinderUtils::run_shell_command("cp $package_location/../*.tar.* $stagedir/"); + } if ( scalar(@xforms_xpi) gt 0 ) { my $xforms_xpi_files = join(' ', @xforms_xpi);