mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-30 22:43:24 +02:00
Make run_all more portable.
- Changed shebang for portability - Fix date command for FreeBSD Signed-off-by: Federico Hernandez <ultrafredde@gmail.com>
This commit is contained in:
parent
fdb359c180
commit
469cafa053
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#! /bin/bash
|
#! /bin/sh
|
||||||
|
|
||||||
date > all.log
|
date > all.log
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ END=`tail -1 all.log`
|
||||||
OS=`uname`
|
OS=`uname`
|
||||||
|
|
||||||
case $OS in
|
case $OS in
|
||||||
Darwin)
|
Darwin | FreeBSD)
|
||||||
STARTEPOCH=`date -j -f "%a %b %d %T %Z %Y" "${START}" "+%s"`
|
STARTEPOCH=`date -j -f "%a %b %d %T %Z %Y" "${START}" "+%s"`
|
||||||
ENDEPOCH=`date -j -f "%a %b %d %T %Z %Y" "${END}" "+%s"`
|
ENDEPOCH=`date -j -f "%a %b %d %T %Z %Y" "${END}" "+%s"`
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue