We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b4323a + f0eb330 commit e20fc1aCopy full SHA for e20fc1a
1 file changed
scripts/install.sh
@@ -140,12 +140,16 @@ echo "Install polycube"
140
cd $DIR/..
141
if [ "$INSTALL_CLEAN_POLYCUBE" == true ] ; then
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
151
fi
152
-# Update submodules; useful in case you are re-running
-# this script on an existing install
-git submodule update --init --recursive
-
153
mkdir -p build && cd build
154
git log -1
155
0 commit comments