mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +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;
|
unset MC;
|
||||||
}
|
}
|
||||||
|
|
||||||
export -f mc
|
if test -n "$BASH_VERSION"; then
|
||||||
|
export -f mc
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user