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

- triggered by dash. makeFFTW needed the same fix.
This commit is contained in:
mark
2016-07-12 19:42:13 +02:00
parent 17aaa3dc77
commit b351eff392

View File

@ -32,7 +32,7 @@
# Get FFTW 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/FFTW)