anti-AD/scripts/start.sh
2020-07-26 17:06:40 +08:00

15 lines
286 B
Bash
Executable File

#!/bin/bash
source /etc/profile
cd $(cd "$(dirname "$0")";pwd)
git pull
shopt -s expand_aliases
alias php='/usr/local/php/bin/php'
export PHP_RET=$(. ./start-ci.sh | tail -1)
git add -A adblock-for-dnsmasq.conf origin-files/*
git commit -am "auto commit. $PHP_RET"
git push --force