Replaced remaining grep with @GREP@ in iso9660 VFS plugin.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-12-15 11:42:25 +03:00
parent 75fa78595e
commit 71a2eeec21

View File

@ -11,7 +11,7 @@
test_iso () { test_iso () {
CHARSET=`locale charmap 2>/dev/null` CHARSET=`locale charmap 2>/dev/null`
if test -z "$CHARSET"; then if test -z "$CHARSET"; then
CHARSET=`locale 2>/dev/null | grep LC_CTYPE | sed -n -e 's/.*\.\(.*\)"$/\1/p'` CHARSET=`locale 2>/dev/null | @GREP@ LC_CTYPE | sed -n -e 's/.*\.\(.*\)"$/\1/p'`
fi fi
if test -n "$CHARSET"; then if test -n "$CHARSET"; then
CHARSET=`echo "$CHARSET" | tr '[A-Z]' '[a-z]' | sed -e 's/^iso-/iso/'` CHARSET=`echo "$CHARSET" | tr '[A-Z]' '[a-z]' | sed -e 's/^iso-/iso/'`