diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-11-21 22:36:34 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-11-27 22:40:22 +0100 |
commit | 16aa073855da37d75d0f48e7fbdf92d14ef8c264 (patch) | |
tree | 214b905ea3ea1c8b1de6366e9d8d05c74eab8241 /download | |
parent | bec854077c372f32a904e21b818a6639c18671e0 (diff) |
move ooo.lst and download parts to Makefile.fetch
Change-Id: I2d27341566d383002446c23bdf60c7aa0cabf37d
Diffstat (limited to 'download')
-rwxr-xr-x | download | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -71,12 +71,6 @@ if [ ! -d "$TARFILE_LOCATION" ]; then exit 1 fi -FILELIST="$1" -if [ -z "$FILELIST" ]; then - echo "No filelist provided, using the default ooo.lst." - FILELIST="ooo.lst" -fi - start_dir=`pwd` logfile=$TARFILE_LOCATION/fetch.log date >> $logfile @@ -122,22 +116,9 @@ downloaditem() fi } -filelist=`cat $FILELIST` mkdir -p $TARFILE_LOCATION/tmp cd $TARFILE_LOCATION/tmp echo $$ > fetch-running -for i in $filelist ; do -# echo $i - if [ "$i" != `echo $i | sed "s/^http:\///"` ]; then - tarurl=$i - # TODO: check for comment - else - if [ "$tarurl" != "" ]; then - sum=`echo $i | sed "s/-.*//"` - downloaditem $tarurl $i $sum - fi - fi -done if [ -f $start_dir/sources.ver -a ! -d $start_dir/.git ] ; then # these sources are from a tarball, so get the other source tarballs |