tazpkg diff modules/getenv @ rev 846
Remove "busybox" "prefixes" (thanks llev)
We used "busybox wget", etc. to be sure we called Busybox's "wget", not any other "wget". Workaround already done in "getenv" module.
We used "busybox wget", etc. to be sure we called Busybox's "wget", not any other "wget". Workaround already done in "getenv" module.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 09 13:14:01 2015 +0300 (2015-10-09) |
parents | d6cbd0c5f273 |
children | b6daeaa95431 |
line diff
1.1 --- a/modules/getenv Mon Oct 05 03:53:47 2015 +0300 1.2 +++ b/modules/getenv Fri Oct 09 13:14:01 2015 +0300 1.3 @@ -21,7 +21,12 @@ 1.4 die() { longline "$(_ "$@")" >&2; exit 1; } 1.5 1.6 # Show debug messages 1.7 -debug() { if [ -n "$debug" ]; then colorize 036 "$@" >&2; fi; } 1.8 +debug() { 1.9 + if [ -n "$debug" ]; then 1.10 + colorize 036 "$@" >&2 1.11 + echo -e "$(date +%f) $@" >> "${LOG/.log/.debug}" 1.12 + fi 1.13 +} 1.14 1.15 debug "\n========\n$0 '$1' '$2' '$3' '$4'" 1.16