On Dec 17, 2008, at 1:32 AM, John Haxby wrote:
That doesn't give the same output: the original puts each of $0 and
the $@'s with single quotes around them in the config file, yours
misses out the quotes. Replacing the original echo -n, printf and
echo like this would work though:
echo "# Configured with:$(printf " '%s'" "$0" "$@")" >> $config_mak
The above works as intended.
If the OS X shell doesn't do $(...) then this will work, albeit at
the cost of readabilty
echo "# Configured with:"`printf " '%s'" "$0" "$@"` >> $config_mak
This works too.
Typically how do these patches get absorbed into the source?
thanks!
-lev