Skip to content

Commit

Permalink
Fix for sh-compatibility in 085583e
Browse files Browse the repository at this point in the history
  • Loading branch information
thommey committed Jul 6, 2024
1 parent e1f8bdc commit 31d426f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/modconfig
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ xdetect-modules)
mc_new_mod_state=enabled
fi
fi
if test "${mc_new_mod_state}" = enabled && [[ -n $(find $mc_mod_bin_dir/${mc_mod}".mod" -name \*.c) ]]; then
if test "${mc_new_mod_state}" = enabled && test -n "`find $mc_mod_bin_dir/${mc_mod}.mod -name \*.c`"; then
${mc_self_call} -q add ${mc_mod}
else
${mc_self_call} -q del ${mc_mod}
Expand Down

0 comments on commit 31d426f

Please sign in to comment.