aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuSearch.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2016-04-25 18:11:14 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-04-25 18:11:14 (GMT)
commita11035440c30eda5b14118694f6f9aa15c0105ea (patch)
treef8cf2508264244158040799b72ea658ff44e9abf /src/FbTk/MenuSearch.cc
parent5d90b7984cb73ede2763346382fb6e038ae5d16d (diff)
downloadfluxbox-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/MenuSearch.cc')
0 files changed, 0 insertions, 0 deletions