anti-AD/scripts/start.sh

15 lines
286 B
Bash
Raw Normal View History

2019-04-04 16:22:37 +08:00
#!/bin/bash
2018-10-04 21:37:00 +08:00
source /etc/profile
2018-10-08 10:59:06 +08:00
cd $(cd "$(dirname "$0")";pwd)
2018-10-10 09:23:35 +08:00
git pull
2018-10-08 10:59:06 +08:00
2020-01-19 16:33:43 +08:00
shopt -s expand_aliases
alias php='/usr/local/php/bin/php'
2020-01-19 16:51:17 +08:00
export PHP_RET=$(. ./start-ci.sh | tail -1)
2018-10-04 21:37:00 +08:00
2019-12-14 21:29:41 +08:00
git add -A adblock-for-dnsmasq.conf origin-files/*
2020-01-19 16:53:14 +08:00
git commit -am "auto commit. $PHP_RET"
2018-10-10 09:23:35 +08:00
git push --force