BUG: need 'unset -f' to unset functions (issue #2)

- triggered by dash.
This commit is contained in:
mark
2016-07-01 17:47:05 +02:00
parent 7ec9f0713f
commit 9bb96a7bcd

View File

@ -38,7 +38,7 @@
# Get CGAL, boost and gmp/mpfr versions
. $WM_PROJECT_DIR/etc/config.sh/functions
unset _foamAddPath _foamAddLib _foamAddMan # get settings only
unset -f _foamAddPath _foamAddLib _foamAddMan # get settings only
_foamSource $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/CGAL)
_foamSource $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/compiler)