FS#42143 - [bash] Cannot import function
Attached to Project:
Arch Linux
Opened by alfred nenesse (nenesse) - Saturday, 27 September 2014, 12:58 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 29 September 2014, 17:23 GMT
Opened by alfred nenesse (nenesse) - Saturday, 27 September 2014, 12:58 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 29 September 2014, 17:23 GMT
|
Details
Description:
Problem with set -a bash option and chroot LANG=C ./test_chroot bash: BASH_FUNC_c_chroot(): line 0: syntax error near unexpected token `)' bash: BASH_FUNC_c_chroot(): line 0: `BASH_FUNC_c_chroot() () { mount -o bind {,$xx_install_path}/proc;' bash: error importing function definition for `BASH_FUNC_c_chroot' [root@asus4570 /]# it working properly last weekend. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 29 September 2014, 17:23 GMT
Reason for closing: Fixed
Additional comments about closing: 4.3.027-1
Monday, 29 September 2014, 17:23 GMT
Reason for closing: Fixed
Additional comments about closing: 4.3.027-1
test_chroot
it's not for export function, it's for variables. I removed all the superfluous code for testing.
@Jan de Groot
I try whitout space between function_name(){, it's the same.
I try function myfunc {, the same