testtest
This commit is contained in:
13
test/andi/check_remote.sh
Executable file
13
test/andi/check_remote.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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..."
|
||||
Reference in New Issue
Block a user