Skip to content

Commit 3667334

Browse files
committed
try again to catch bash error
1 parent 5cc832a commit 3667334

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ execute:
3333
done
3434

3535
convert:
36+
set -e; \
3637
i=0; \
3738
_paths=($(MODIFIED_RQT_PATHS)); \
3839
for notebook in ${MODIFIED_NOTEBOOKS}; do \
3940
echo Installing requirements from $${_paths[i]}; \
40-
! python -m pip install --force-reinstall -r $${_paths[i]} > /dev/null; \
41-
! nbcollection convert ${CONVERTFLAGS} ${FLAGS} $$notebook; \
41+
python -m pip install --force-reinstall -r $${_paths[i]} > /dev/null; \
42+
nbcollection convert ${CONVERTFLAGS} ${FLAGS} $$notebook; \
4243
i=$$((i+1)); \
4344
done
4445

@@ -57,8 +58,8 @@ convertall:
5758
_paths=($(ALL_RQT_PATHS)); \
5859
for notebook in ${ALL_NOTEBOOKS}; do \
5960
echo Installing requirements from $${_paths[i]}; \
60-
! python -m pip install --force-reinstall -r $${_paths[i]} > /dev/null; \
61-
! nbcollection convert ${CONVERTFLAGS} ${FLAGS} $$notebook; \
61+
python -m pip install --force-reinstall -r $${_paths[i]} > /dev/null; \
62+
nbcollection convert ${CONVERTFLAGS} ${FLAGS} $$notebook; \
6263
i=$$((i+1)); \
6364
done
6465

0 commit comments

Comments
 (0)