wok-current rev 4236
tazbb: get KERNEL variable from linux receipt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 16:26:08 2009 +0200 (2009-09-24) |
parents | 7d74bf227264 |
children | ad920ce27bf4 |
files | tazbb/stuff/tazbb tazbb/stuff/tazbb.conf |
line diff
1.1 --- a/tazbb/stuff/tazbb Thu Sep 24 15:52:59 2009 +0200 1.2 +++ b/tazbb/stuff/tazbb Thu Sep 24 16:26:08 2009 +0200 1.3 @@ -36,6 +36,12 @@ 1.4 touch $LOCK_FILE $DB_DIR/blocked 1.5 fi 1.6 1.7 +# Set KERNEL variable 1.8 +if [ -s $BUILD_WOK/linux/receipt ]; then 1.9 + . $BUILD_WOK/linux/receipt 1.10 + KERNEL=$VERSION 1.11 +fi 1.12 + 1.13 usage() 1.14 { 1.15 echo -e "\nSliTaz developers and build host tool\n