[pok-devel] [21] Update `get_ocarina.sh' to fetch it from tuxfamily.

[ Thread Index | Date Index | More lists.tuxfamily.org/pok-devel Archives ]


Revision: 21
Author:   coredumper
Date:     2011-10-16 14:31:11 +0200 (Sun, 16 Oct 2011)
Log Message:
-----------
Update `get_ocarina.sh' to fetch it from tuxfamily.

Modified Paths:
--------------
    trunk/misc/get_ocarina.sh

Modified: trunk/misc/get_ocarina.sh
===================================================================
--- trunk/misc/get_ocarina.sh	2011-09-21 19:46:19 UTC (rev 20)
+++ trunk/misc/get_ocarina.sh	2011-10-16 12:31:11 UTC (rev 21)
@@ -15,10 +15,10 @@
     exit 1
 fi
 
-BASE="http://ocarina.enst.fr/snapshots/";
-FILE=`wget -qO - $BASE | grep "a href=.*$(uname -m)-linux" | sed "s/^.*href=\"\([^\"]*\)\".*$/\1/"`
+BASE="http://download.tuxfamily.org/taste/snapshots/binaries/ocarina/";
+FILE=`wget -qO - $BASE | grep "a href=.*-current" | sed "s/^.*href=\"\([^\"]*\)\".*$/\1/"`
 PREFIX=$1
-FOLDER=`echo $FILE | sed "s/\(.*\)\..*/\1/"`
+FOLDER="ocarina"
 
 CUR=`pwd`
 TMP=`mktemp -d`


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/