diff --git a/setup_eth_course_rooms/update_installer.sh b/setup_eth_course_rooms/update_installer.sh index 5d7e407c47d697e20aef56bae1786b989cb79160..bad2bfa1758888e8daad483400a180285df77e4c 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=/tmp/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