[OpenWrt-Devel] [PATCH] build: fix STAGING_DIR cleaning when filenames contain spaces

Petr Štetiar ynezz at true.cz
Wed May 15 06:24:09 PDT 2019

Jeffery To <jeffery.to at gmail.com> [2019-05-15 19:03:16]:

> I finally remembered, I copied this syntax from
> package/network/services/openvpn/files/openvpn.init[3]:
> "

it just looks weird as well.

> If you prefer, I can change this to use ksh93 syntax[5]:
> IFS=$'\n'

indeed, I like this a lot more, and 

 IFS="$(printf '\n\t')"

from that TLDP page you've linked looks good as well, seems even more readable
to me. Anyway, I'll leave the decision up to you, both are fine with me.

-- ynezz

More information about the openwrt-devel mailing list