wok-6.x rev 7299

Fixed linux receipt to not soft link to WOK/aufs/aufs-VERSION since it will cause problems with building.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 17 02:05:01 2010 +0000 (2010-11-17)
parents 5a6a835eb63f
children 9fa62bfcec02
files linux/receipt
line diff
     1.1 --- a/linux/receipt	Wed Nov 17 02:01:49 2010 +0000
     1.2 +++ b/linux/receipt	Wed Nov 17 02:05:01 2010 +0000
     1.3 @@ -24,10 +24,7 @@
     1.4  	local _AUFSVER=`grep  ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
     1.5  	local AUFSDIR="aufs-${_AUFSVER}"
     1.6  	TARBALL=$SOURCES_REPOSITORY/$AUFSDIR.tar.gz
     1.7 -	if [ -d $WOK/aufs/$AUFSDIR ]; then
     1.8 -		local AUFSDIR=$WOK/aufs/$AUFSDIR
     1.9 -		ln -sf $AUFSDIR aufs-${_AUFSVER}
    1.10 -	elif [ -f $TARBALL ]; then
    1.11 +	if [ -f $TARBALL ]; then
    1.12  		tar xzf $TARBALL
    1.13  		cd $AUFSDIR && git checkout origin/aufs2
    1.14  		cd $WOK/$PACKAGE