diff options
author | Mathias Gumz <akira@fluxbox.org> | 2016-04-25 18:11:14 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-04-25 18:11:14 (GMT) |
commit | a11035440c30eda5b14118694f6f9aa15c0105ea (patch) | |
tree | f8cf2508264244158040799b72ea658ff44e9abf /src/FbTk/Resource.hh | |
parent | 5d90b7984cb73ede2763346382fb6e038ae5d16d (diff) | |
download | fluxbox-a11035440c30eda5b14118694f6f9aa15c0105ea.zip fluxbox-a11035440c30eda5b14118694f6f9aa15c0105ea.tar.bz2 |
fix fbsetbg in combination with picky shells
in *BSD, /bin/sh is Almquist Shell(ash). the 'hash' built-in command of ash
returns 0, always. 'hash' is not usable for find_it() function in
util/fbsetbg and util/fluxbox-generate_menu.in.
this patch changes the behavior of find_it(): when 'hash' is detected to
not work correctly, switch back to 'which'.
this patch is the work of Yamashiro, Jun and appeared first as patch-160
on sourceforge: https://sourceforge.net/p/fluxbox/patches/160/. i submit
it on behalf of the author.
Diffstat (limited to 'src/FbTk/Resource.hh')
0 files changed, 0 insertions, 0 deletions