From a19fc7efeff335de190923773401f68544116dec Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Sat, 6 Dec 2014 17:29:18 +0100 Subject: Fix bashisms in shell scripts Bashisms in scripts may cause problems on systems where the default shell is not Bash. --- tools/Linux/kodi.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/Linux/kodi.sh.in') diff --git a/tools/Linux/kodi.sh.in b/tools/Linux/kodi.sh.in index 10f164b50f..35dee2c323 100644 --- a/tools/Linux/kodi.sh.in +++ b/tools/Linux/kodi.sh.in @@ -57,7 +57,7 @@ migrate_home() command_exists() { - command -v $1 >/dev/null 2>&1 + command -pv $1 >/dev/null 2>&1 } single_stacktrace() -- cgit v1.2.3