updated opensfm, start-dev-env script

pull/1210/head
Piero Toffanin 2020-11-30 14:01:17 -05:00
rodzic 94097ecfee
commit f83c81126c
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -9,7 +9,7 @@ ExternalProject_Add(${_proj_name}
#--Download step--------------
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
GIT_REPOSITORY https://github.com/OpenDroneMap/OpenSfM/
GIT_TAG 221
GIT_TAG 230
#--Update/Patch step----------
UPDATE_COMMAND git submodule update --init --recursive
#--Configure step-------------

Wyświetl plik

@ -11,7 +11,7 @@ if [ "$1" = "--setup" ]; then
bash configure.sh reinstall
touch .setupdevenv
apt update && apt install -y vim
apt update && apt install -y vim git
chown -R $3:$4 /code
chown -R $3:$4 /var/www
fi
@ -22,6 +22,7 @@ if [ "$1" = "--setup" ]; then
echo "$2:x:$4:" >> /etc/group
echo "Adding $2 to /etc/shadow"
echo "$2:x:14871::::::" >> /etc/shadow
echo "$2 ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
echo "echo '' && echo '' && echo '' && echo '###################################' && echo 'ODM Dev Environment Ready. Hack on!' && echo '###################################' && echo '' && cd /code" > $HOME/.bashrc
# Install qt creator