# SET YOU MDG repository name here
export OSM_MDG=UI
OSM_load_config
+OSM_git_checkout "$@"
-# Here is an example for how to handle an incremental build
-if [ -d $OSM_MDG ]; then
- INFO "reusing existing workspace"
- cd $OSM_MDG
- git pull
-else
- INFO "cloning MDG $OSM_MDG from $OSM_GIT_URL/$OSM_MDG"
- git clone $OSM_GIT_URL/$OSM_MDG
- cd $OSM_MDG
-fi
INFO "starting build"
-
-make -j16 -C UI || FATAL "Make failed"
+make clean || FATAL "Make clean failed"
+make -j16 || FATAL "Make failed"
sudo make install || FATAL "Make install Failed"
-RC=0
-
-INFO "done, RC=$RC"
-exit $RC
+INFO "build done"
+exit 0