android_external_toybox/scripts/portability.sh

7 lines
133 B
Bash

# sourced to find alternate names for things
if [ -z "$SED" ]
then
[ ! -z "$(which gsed 2>/dev/null)" ] && SED=gsed || SED=sed
fi