ltsp-common-functions: Dereference asterisk in find_opts doesn't work for me
This is for net-misc/
(see also https:/
I have some ThinClients that need
CONFIGURE_X = Y
X_MODE_0 = 1600x1200
in lts.conf to start X with the correct resolution.
But after updating ltsp-client:
[ebuild U ] net-misc/
they came up with 800x600. Debugging the startup scripts I finally found that
the XS* scripts (and especially XS90-assembleXo
# Run files prefixed with XS* in /usr/share/
if [ -d "/usr/share/
for script in $(run_parts_list /usr/share/
This again was caused by the find command in run_parts_list() of
find -L "$1" -mindepth 1 -maxdepth 1 -type f $find_opts | ...
not listing the XS* scripts. I had to change the definition of find_opts from
to fix this.
So unlike the commit comment of revision 1802
which says "Dereference asterisk in find_opts. Otherwise, this fails
sometimes." for me it _always_ fails _with_ the asterisk in find_opts.