wok-4.x rev 10700

hatenarunner: fix cookutils weirdness
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 28 09:33:58 2011 +0200 (2011-05-28)
parents fc11d7d8b3a7
children 805114e48979
files hatenarunner/receipt
line diff
     1.1 --- a/hatenarunner/receipt	Sat May 28 09:26:23 2011 +0200
     1.2 +++ b/hatenarunner/receipt	Sat May 28 09:33:58 2011 +0200
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="Loderunner game in javascript"
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  WEB_SITE="http://lodedome.no-ip.com/"
     1.7 -TARBALL="JavaScript_Hatena.Runner_Satoshi.Ueyama.zip"
     1.8 +_TARBALL="JavaScript_Hatena.Runner_Satoshi.Ueyama.zip"
     1.9  #_WGET_URL="http://lodedome.no-ip.com/download.php?rfname=$TARBALL&request_id=Lode_5BBAB6F85D944A4A5CB7AC12B0BFD18D"
    1.10  _WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
    1.11  
    1.12 @@ -15,11 +15,11 @@
    1.13  {
    1.14  	mkdir $src
    1.15  	cd $src
    1.16 -	if [ ! -s $SOURCES_REPOSITORY/$TARBALL ]; then
    1.17 -		wget $_WGET_URL -O $TARBALL
    1.18 -		mv $TARBALL $SOURCES_REPOSITORY
    1.19 +	if [ ! -s $SOURCES_REPOSITORY/$_TARBALL ]; then
    1.20 +		wget $_WGET_URL -O $_TARBALL
    1.21 +		mv $_TARBALL $SOURCES_REPOSITORY
    1.22  	fi
    1.23 -	unzip $SOURCES_REPOSITORY/$TARBALL
    1.24 +	unzip $SOURCES_REPOSITORY/$_TARBALL
    1.25  	unzip HatenaRunner_MainGameScript.zip
    1.26  	rm -f HatenaRunner_MainGameScript.zip
    1.27  	dos2unix js/* *.htm *.css