[pok-devel] [8] Update `get_ocarina' to retrieve the correct architecture. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/pok-devel Archives
]
Revision: 8
Author: coredumper
Date: 2011-07-24 13:50:42 +0200 (Sun, 24 Jul 2011)
Log Message:
-----------
Update `get_ocarina' to retrieve the correct architecture.
Modified Paths:
--------------
trunk/misc/get_ocarina.sh
Modified: trunk/misc/get_ocarina.sh
===================================================================
--- trunk/misc/get_ocarina.sh 2011-07-14 11:15:50 UTC (rev 7)
+++ trunk/misc/get_ocarina.sh 2011-07-24 11:50:42 UTC (rev 8)
@@ -16,7 +16,7 @@
fi
BASE="http://ocarina.enst.fr/snapshots/"
-FILE=`wget -qO - $BASE | grep "a href=.*x86-linux" | sed "s/^.*href=\"\([^\"]*\)\".*$/\1/"`
+FILE=`wget -qO - $BASE | grep "a href=.*$(uname -m)-linux" | sed "s/^.*href=\"\([^\"]*\)\".*$/\1/"`
PREFIX=$1
FOLDER=`echo $FILE | sed "s/\(.*\)\..*/\1/"`