File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -140,12 +140,16 @@ echo "Install polycube"
140
140
cd $DIR /..
141
141
if [ " $INSTALL_CLEAN_POLYCUBE " == true ] ; then
142
142
$SUDO rm -rf build
143
+ else
144
+ # The above commands are executed only in case of a manual install;
145
+ # Jenkins runs this script with "$INSTALL_CLEAN_POLYCUBE" = true
146
+ # The above commands are useful in case you are re-running this
147
+ # script on an existing install, i.e., update source code and
148
+ # all the submodules
149
+ git pull
150
+ git submodule update --init --recursive
143
151
fi
144
152
145
- # Update submodules; useful in case you are re-running
146
- # this script on an existing install
147
- git submodule update --init --recursive
148
-
149
153
mkdir -p build && cd build
150
154
git log -1
151
155
You can’t perform that action at this time.
0 commit comments