mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
Replaced remaining grep with @GREP@ in iso9660 VFS plugin.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
75fa78595e
commit
71a2eeec21
@ -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/'`
|
||||||
|
Loading…
Reference in New Issue
Block a user