aboutsummaryrefslogtreecommitdiff
path: root/scripts/portability.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/portability.sh')
-rw-r--r--scripts/portability.sh2
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