Message252593
When writing bash shellscripts, I always set options "set -ueC" for strict error checking. However, loading pyvenv's activate and deactivate scripts from bash with "-u" option, they are failure because they may refer undefined shell variables. I hope activate script and deactivate function are enclosed like following block _OLD_BASH_OPTIONS="$-" set +u ### script body ## set -$_OLD_BASH_OPTIONS unset _OLD_BASH_OPTIONS Another option, all shell-variables in the script change like $SPAM -> ${SPAM:-} | |
| Date | User | Action | Args | | 2015-10-09 07:23:57 | s-wakaba | set | recipients: + s-wakaba | | 2015-10-09 07:23:57 | s-wakaba | set | messageid: <1444375437.08.0.147131311455.issue25351@psf.upfronthosting.co.za> | | 2015-10-09 07:23:56 | s-wakaba | link | issue25351 messages | | 2015-10-09 07:23:56 | s-wakaba | create | | |