Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
|
DetailsDescription:
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