Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
on_update.sh 379 B
#!/usr/bin/bash

# Log if we were asked to do so.
if [[ $# -gt 0 ]]
then
    /home/examadm/tal-cli/on_update.sh 2>&1 | tee /home/examadm/tal-cli/log
    exit $?
fi

cd source

python3 -m pip install --user -r scripts/requirements.txt

git submodule update --init
git checkout .gitmodules

make clean all

cd ..
rm -f oracle
ln -s source/oracle oracle
rm -f tal
cp source/tal tal