~ubuntu-branches/ubuntu/lucid/glew/lucid-201002122355

« back to all changes in this revision

Viewing changes to auto/bin/update_registry.sh

  • Committer: Bazaar Package Importer
  • Author(s): Muharem Hrnjadovic
  • Date: 2009-06-04 12:12:40 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090604121240-e0rh5kfvft8wh2b0
Tags: 1.5.1-4ubuntu1
* Merge from debian unstable, remaining changes:
  - Build shared libraries with CC, not LD.
  - The debian Makefile had trailing '^M' characters; once sanitized
    the diff between the debian/ubuntu Makefile looks as follows:
    http://pastebin.ca/1447378

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
##
3
 
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
4
 
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
5
 
##
6
 
## This program is distributed under the terms and conditions of the GNU
7
 
## General Public License Version 2 as published by the Free Software
8
 
## Foundation or, at your option, any later version.
9
 
 
10
 
set -e
11
 
 
12
 
if [ ! -d $1 ] ; then
13
 
    mkdir $1
14
 
fi
15
 
cd $1
16
 
 
17
 
wget                                                    \
18
 
    --mirror                                            \
19
 
    --no-parent                                         \
20
 
    --no-host-directories                               \
21
 
    --cut-dirs=2                                        \
22
 
    --accept=txt,html                                   \
23
 
    $2
24
 
 
 
1
#!/bin/sh
 
2
##
 
3
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
 
4
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
 
5
##
 
6
## This program is distributed under the terms and conditions of the GNU
 
7
## General Public License Version 2 as published by the Free Software
 
8
## Foundation or, at your option, any later version.
 
9
 
 
10
set -e
 
11
 
 
12
if [ ! -d $1 ] ; then
 
13
    mkdir $1
 
14
fi
 
15
cd $1
 
16
 
 
17
wget                                                    \
 
18
    --mirror                                            \
 
19
    --no-parent                                         \
 
20
    --no-host-directories                               \
 
21
    --cut-dirs=2                                        \
 
22
    --accept=txt,html                                   \
 
23
    $2
 
24