File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ for EXAMPLE in "$EXAMPLEDIR"/*; do
60
60
echo " ------------------------------------------------------------"
61
61
# (re-)create the project directory under tmp/
62
62
if [ -d " $PROJECTDIR " ] && [ " $PROJECTDIR " != " " ]; then
63
- rmdir -
8FC0
r " $PROJECTDIR "
63
+ rm -r " $PROJECTDIR "
64
64
fi
65
65
# Create the lib folder to link the current version of the library
66
66
mkdir -p " $PROJECTDIR /lib"
@@ -93,6 +93,10 @@ for EXAMPLE in "$EXAMPLEDIR"/*; do
93
93
else
94
94
EXAMPLES_SUCCESS+=(" $EXAMPLENAME " )
95
95
fi
96
+ # Delete project directory
97
+ if [ -d " $PROJECTDIR " ] && [ " $PROJECTDIR " != " " ]; then
98
+ rm -r " $PROJECTDIR "
99
+ fi
96
100
fi # TEST_THIS_EXAMPLE
97
101
fi # example dir exists and contains .ino
98
102
done
You can’t perform that action at this time.
0 commit comments