wok diff python-turbogears/receipt @ rev 6594
fix python path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 09 17:19:46 2010 +0200 (2010-10-09) |
parents | 5921dc28d8c6 |
children | 0846c0130529 |
line diff
1.1 --- a/python-turbogears/receipt Sat Oct 09 15:31:15 2010 +0200 1.2 +++ b/python-turbogears/receipt Sat Oct 09 17:19:46 2010 +0200 1.3 @@ -17,7 +17,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - PYTHON_LIB=$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.8 + PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.9 # Tgsetup dont build TurboGearsKid and friends if there are already 1.10 # installed, so remove python-turbogears before building. 1.11 if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then 1.12 @@ -34,7 +34,7 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - PYTHON_LIB=$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.17 + PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.18 cp -a $_pkg/usr $fs 1.19 rm $fs/usr/lib/$PYTHON_LIB/site-packages/site.py* 1.20 }