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"
140140cd $DIR /..
141141if [ " $INSTALL_CLEAN_POLYCUBE " == true ] ; then
142142 $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
143151fi
144152
145- # Update submodules; useful in case you are re-running
146- # this script on an existing install
147- git submodule update --init --recursive
148-
149153mkdir -p build && cd build
150154git log -1
151155
You can’t perform that action at this time.
0 commit comments