fix for bash: force alias expansion

master
Maarten van Gompel 4 years ago
parent 9120e9fe77
commit 47c62388e0
  1. 3
      scripts/core/sxmo_common.sh

@ -22,6 +22,9 @@ command -v "$KEYBOARD" > /dev/null || export KEYBOARD=svkbd-mobile-intl
# certain coreutils rather than any other version that may be installed on the # certain coreutils rather than any other version that may be installed on the
# user's computer # user's computer
#aliases aren't expanded in bash
command -v shopt > /dev/null && shopt -s expand_aliases
alias find="busybox find" alias find="busybox find"
alias pkill="busybox pkill" alias pkill="busybox pkill"
alias pgrep="busybox pgrep" alias pgrep="busybox pgrep"

Loading…
Cancel
Save