OLD | NEW |
| (Empty) |
1 #!/bin/sh | |
2 # | |
3 # Copyright (C) 2006-2007 Linus Walleij <triad@df.lth.se> | |
4 # | |
5 # This library is free software; you can redistribute it and/or | |
6 # modify it under the terms of the GNU Lesser General Public | |
7 # License as published by the Free Software Foundation; either | |
8 # version 2 of the License, or (at your option) any later version. | |
9 # | |
10 # This library is distributed in the hope that it will be useful, | |
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 # Lesser General Public License for more details. | |
14 # | |
15 # You should have received a copy of the GNU Lesser General Public | |
16 # License along with this library; if not, write to the | |
17 # Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
18 # Boston, MA 02111-1307, USA. | |
19 | |
20 #set -e | |
21 | |
22 srcdir=`dirname $0` | |
23 | |
24 # Get sources from gphoto2 SVN | |
25 WGET=`which wget` | |
26 if [ "x$WGET" != "x" ]; then | |
27 wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/t
runk/libgphoto2/camlibs/ptp2/ptp.c | |
28 mv tmpfile ptp.c.gphoto2 | |
29 wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/t
runk/libgphoto2/camlibs/ptp2/ptp.h | |
30 mv tmpfile ptp.h.gphoto2 | |
31 wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/t
runk/libgphoto2/camlibs/ptp2/ptp-pack.c | |
32 mv tmpfile ptp-pack.c.gphoto2 | |
33 wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/t
runk/libgphoto2/camlibs/ptp2/library.c | |
34 mv tmpfile library.c.gphoto2 | |
35 wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/t
runk/libgphoto2/camlibs/ptp2/music-players.h | |
36 mv tmpfile music-players.h.gphoto2 | |
37 else | |
38 echo "Could not sync to gphoto2. No WGET." | |
39 fi | |
40 | |
41 echo "Finished!" | |
42 | |
OLD | NEW |