tazwok diff tazwok @ rev 465
Improve config.site and remove path config from tazwok.conf (actually change theses paths doesn't works well)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Mar 27 18:13:31 2011 +0200 (2011-03-27) |
parents | ad725c56d2e1 |
children | d25917659cbe |
line diff
1.1 --- a/tazwok Fri Mar 25 18:58:49 2011 +0100 1.2 +++ b/tazwok Sun Mar 27 18:13:31 2011 +0200 1.3 @@ -726,15 +726,17 @@ 1.4 default_infodir default_mandir default_build default_host 1.5 local LC_ALL=POSIX LANG=POSIX 1.6 compile_rules 1.7 + return_code=$? 1.8 1.9 - # Check if config.site has been used. 1.10 - # /!\ disabled since it screws the return_code of the step. 1.11 - #if [ -f /tmp/config.site ]; then 1.12 - # rm /tmp/config.site 1.13 - #else 1.14 - # tazwok_warning "config.site hasn't been used during \ 1.15 -#the configuration process." 1.16 - #fi 1.17 + if [ -f /tmp/config.site ]; then 1.18 + rm /tmp/config.site 1.19 + else 1.20 + tazwok_warning "config.site hasn't been used during \ 1.21 +the configuration process." 1.22 + fi 1.23 + 1.24 + # Return the proper status to step. 1.25 + (exit $return_code) 1.26 report end-step 1.27 fi 1.28 }