mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* mc.sh.in: Only bash needs the mc() function to be exported.
This commit is contained in:
parent
b6862a8c26
commit
15a6a98f18
@ -9,4 +9,6 @@ mc ()
|
||||
unset MC;
|
||||
}
|
||||
|
||||
export -f mc
|
||||
if test -n "$BASH_VERSION"; then
|
||||
export -f mc
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user