[PATCH 1.24.1] ash: backport fix for here document issues
Ron Yorston
rmy at pobox.com
Thu Oct 29 16:43:35 UTC 2015
Ron Yorston wrote:
>Natanael Copa wrote:
>>if true; then
>>cat >>confdefs.h <<_ACEOF
>>#define `date`
>>_ACEOF
>>fi
>>
>>Seems like `command` inside heredoc inside if .. fi is needed to trigger it.
>
>Using $(command) seems to be a workaround.
It also seems that a patch I submitted in August fixes the problem:
http://lists.busybox.net/pipermail/busybox/2015-August/083207.html
Unfortunately the new patch breaks the old one because I used the same
name for the test. For convenience a hacked version of the old patch
will follow.
Ron
More information about the busybox
mailing list