diff options
Diffstat (limited to 'scripts/portability.sh')
-rw-r--r-- | scripts/portability.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/portability.sh b/scripts/portability.sh index abeb31f2..618022c7 100644 --- a/scripts/portability.sh +++ b/scripts/portability.sh @@ -10,5 +10,5 @@ fi if [ -z "$SED" ] then - [ ! -z "$(which gsed 2>/dev/null)" ] && SED=gsed || SED=sed + [ ! -z "$(command -v gsed 2>/dev/null)" ] && SED=gsed || SED=sed fi |