aboutsummaryrefslogtreecommitdiff
path: root/scripts/portability.sh
blob: fddd84ecefcde958e56a4a44b1d4c6e9ff598aa7 (plain)
1
2
3
4
5
6
# sourced to find alternate names for things

if [ -z "$SED" ]
then
  [ ! -z "$(which gsed 2>/dev/null)" ] && SED=gsed || SED=sed
fi