1 2 3 4 5 6 7 8 9
#!/bin/bash git pull 1>&1 | grep "Already up-to-date." if [[ ! $? -eq 0 ]]; then cd menuApp make -j 4 cd .. fi