[OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

edgar.soldin at web.de edgar.soldin at web.de
Fri Sep 4 06:35:44 EDT 2015


On 04.09.2015 12:36, Bastian Bittorf wrote:
> * edgar.soldin at web.de <edgar.soldin at web.de> [04.09.2015 12:30]:
>> note from a bystander. this looks wrong - path/file names containing spaces will be delimited by for. probably better use
>
> for the sent patch this works:
>
> root at box:~ touch "A 1"
> root at box:~ touch "A 2"
> root at box:~ for FILE in A*; do ls -l "$FILE"; done
> -rw-r--r-- 1 root root 0 Sep 4 12:22 A 1
> -rw-r--r-- 1 root root 0 Sep 4 12:22 A 2
>

right your patch is fine. this was wrt. karlp's example code that resides in functions.sh include() function.

..ede
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list