Files
flippr-code/test/andi/check_remote.sh
Jonas Zeunert ec2b6ab07a testtest
2020-07-02 20:23:48 +02:00

14 lines
298 B
Bash
Executable File

#!/bin/bash
#echo "hello world"
cd /home/pi/firmware/flippr-code
OUTPUT="$(git pull)"
if [ "$OUTPUT" != "Already up-to-date." ]; then
echo "repo has updated. compile now..."
cd /home/pi/firmware/flippr-code/FlippR-Driver/build
cmake ..
make
fi
echo "repo on track, nothing to do here..."