diff --git a/tutorials/modules/film/rivuletPanel/Allrun b/tutorials/modules/film/rivuletPanel/Allrun index 7d4d69fc15..c09667a141 100755 --- a/tutorials/modules/film/rivuletPanel/Allrun +++ b/tutorials/modules/film/rivuletPanel/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Copy the source case -path=$FOAM_TUTORIALS/modules/isothermalFilm +isTest "$@" && path=../../isothermalFilm || path=$FOAM_TUTORIALS/modules/isothermalFilm cp -r $path/rivuletPanel/constant . cp -r $path/rivuletPanel/system . cp -r $path/rivuletPanel/0 .