summaryrefslogtreecommitdiff
path: root/src/gphoto2-sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gphoto2-sync.sh')
-rwxr-xr-xsrc/gphoto2-sync.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gphoto2-sync.sh b/src/gphoto2-sync.sh
index 43115ca..f250c6f 100755
--- a/src/gphoto2-sync.sh
+++ b/src/gphoto2-sync.sh
@@ -6,15 +6,15 @@ srcdir=`dirname $0`
# Get sources from gphoto2 SVN
WGET=`which wget`
if [ "x$WGET" != "x" ]; then
- wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp.c
+ wget -O tmpfile http://sourceforge.net/p/gphoto/code/14266/tree/trunk/libgphoto2/camlibs/ptp2/ptp.c?format=raw
mv tmpfile ptp.c.gphoto2
- wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp.h
+ wget -O tmpfile tmpfile http://sourceforge.net/p/gphoto/code/14266/tree/trunk/libgphoto2/camlibs/ptp2/ptp.h?format=raw
mv tmpfile ptp.h.gphoto2
- wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp-pack.c
+ wget -O tmpfile tmpfile http://sourceforge.net/p/gphoto/code/14266/tree/trunk/libgphoto2/camlibs/ptp2/ptp-pack.c?format=raw
mv tmpfile ptp-pack.c.gphoto2
- wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/library.c
+ wget -O tmpfile tmpfile http://sourceforge.net/p/gphoto/code/14266/tree/trunk/libgphoto2/camlibs/ptp2/library.c?format=raw
mv tmpfile library.c.gphoto2
- wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/music-players.h
+ wget -O tmpfile tmpfile http://sourceforge.net/p/gphoto/code/14266/tree/trunk/libgphoto2/camlibs/ptp2/music-players.h?format=raw
mv tmpfile music-players.h.gphoto2
else
echo "Could not sync to gphoto2. No WGET."