mirror of
https://github.com/ivanilves/xiringuito.git
synced 2025-05-20 09:10:10 -07:00
🎩 ✨
This commit is contained in:
parent
d4772fd133
commit
c93892bfbc
@ -6,8 +6,8 @@ set -e
|
||||
|
||||
git remote update >/dev/null
|
||||
|
||||
REMOTE_TS=$(git show --pretty="format:%ct" origin master)
|
||||
LOCAL_TS=$(git show --pretty="format:%ct")
|
||||
REMOTE_TS=$(git show --pretty="format:%ct" origin/master | head -n1)
|
||||
LOCAL_TS=$(git show --pretty="format:%ct" | head -n1)
|
||||
|
||||
if [[ ${LOCAL_TS} -lt ${REMOTE_TS} ]]; then
|
||||
echo "*** WARNING: You are running outdated Xiringuito version. Remember: 'git pull' FTW!"
|
||||
|
@ -39,7 +39,7 @@ fi
|
||||
declare -r ORIGINAL_EXEC=${0}
|
||||
declare -r ORIGINAL_ARGS=${@}
|
||||
|
||||
while getopts "f:RDrh" o; do
|
||||
while getopts "f:CRDrh" o; do
|
||||
case ${o} in
|
||||
f)
|
||||
MAX_FAILED_PINGS=${OPTARG}
|
||||
|
Loading…
x
Reference in New Issue
Block a user