OSDN Git Service
(root)
/
portsreinstall
/
current.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[IMPROVED] Adapt to the behavior change grep(1) as of 12.0-RELEASE that the case...
[portsreinstall/current.git]
/
lib
/
libmisc.sh
diff --git
a/lib/libmisc.sh
b/lib/libmisc.sh
index
bf83892
..
44500d2
100644
(file)
--- a/
lib/libmisc.sh
+++ b/
lib/libmisc.sh
@@
-56,7
+56,7
@@
misc_get_all_vardefs ()
# ============= Initialize shell variable definitions =============
misc_init_vardefs ()
{
# ============= Initialize shell variable definitions =============
misc_init_vardefs ()
{
- eval `misc_get_all_vardefs | grep -E '^[a-z_][a-zA-Z0-9_]+=' | sed 's/=.*//;s/^/unset /'`
+ eval `misc_get_all_vardefs |
env LANG=C
grep -E '^[a-z_][a-zA-Z0-9_]+=' | sed 's/=.*//;s/^/unset /'`
}
# ============= Get the size of the current console =============
}
# ============= Get the size of the current console =============