diff --git a/setup_eth_course_rooms/update_installer.sh b/setup_eth_course_rooms/update_installer.sh index f5e6d0b5b9d646b9322e03624dec3ad27426cdda..9cf8a4b6dfd75198ef2a2052c0926a0dea36dd0e 100755 --- a/setup_eth_course_rooms/update_installer.sh +++ b/setup_eth_course_rooms/update_installer.sh @@ -25,7 +25,7 @@ SCP_TARGET=${REMOTE_LOGIN}:${REMOTE_WEB_FOLDER} # end of user settings, edits from here on only if you know what you do. -LOCAL_BUILD_FOLDER=$(pwd)/installer-build-tmp/ +LOCAL_BUILD_FOLDER=$(pwd)/build # create fresh folder structure to build archive with notebooks rm -rf ${LOCAL_BUILD_FOLDER} @@ -40,10 +40,12 @@ for NOTEBOOK in ${NOTEBOOKS}; do echo process ${NOTEBOOK} TARGET=${LOCAL_BUILD_FOLDER}/course/${NOTEBOOK} - nb-filter-cells -i $NOTEBOOK -t solution -o ${TARGET} + echo ${TARGET} + nb-filter-cells -i $NOTEBOOK -t solution | nb-filter-cells -t TODO -o ${TARGET} TARGET=${LOCAL_BUILD_FOLDER}/solutions/${NOTEBOOK%.ipynb}-with-solutions.ipynb - cp $NOTEBOOK ${TARGET} + nb-filter-cells -i $NOTEBOOK -t TODO -o ${TARGET} + # cp $NOTEBOOK ${TARGET} done echo scp graphics