slitaz-modular rev 87
Add a if statement to check if your in in cooking branch of my-wok before updating it.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 06 00:32:42 2011 +0000 (2011-05-06) |
parents | 7bc8e3987a83 |
children | 2355dbaf4051 |
files | mkiso.sh |
line diff
1.1 --- a/mkiso.sh Tue May 03 08:06:31 2011 +0000 1.2 +++ b/mkiso.sh Fri May 06 00:32:42 2011 +0000 1.3 @@ -488,7 +488,9 @@ 1.4 WOK=${HG_DIR}/my-wok/repos/my-wok 1.5 if [ -d $WOK/.hg ]; then 1.6 cd $WOK 1.7 - hg update cooking 1.8 + if [ "$(hg branch)" != "cooking" ]; then 1.9 + hg update cooking 1.10 + fi 1.11 cd $PROFILE 1.12 fi 1.13 squashfs_hg $my_hg