debug.sh 205 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. gcc _build.c -lutil -o ._build -ggdb \
  3. && ./._build -d
  4. if [ $? -ne 0 ]; then
  5. exit
  6. fi
  7. old=`pwd`
  8. cd testrepo
  9. date >> increment
  10. git add increment
  11. git commit -m "test"
  12. git push
  13. cd $old