diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-02-22 22:19:03 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-02-22 22:19:03 +0000 |
commit | 6f6a583bc76bb7d9a692a46f91dfe0dfa2bb1611 (patch) | |
tree | 0a52ddb13b99fe90914e24ec0a98508c629f4706 /Tools | |
parent | 0aa749d4da67168b5c0866a00e5b43d0aa32ffcf (diff) | |
download | ports-6f6a583bc76bb7d9a692a46f91dfe0dfa2bb1611.tar.gz ports-6f6a583bc76bb7d9a692a46f91dfe0dfa2bb1611.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/buildfailure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/buildfailure b/Tools/portbuild/scripts/buildfailure index cc9d944825cd..789b9d711997 100755 --- a/Tools/portbuild/scripts/buildfailure +++ b/Tools/portbuild/scripts/buildfailure @@ -30,17 +30,17 @@ if grep -q "^${portloc}|" failure; then count=$(grep "^${portloc}|" failure | cut -f 5 -d \|) grep -v "^${portloc}|" failure > failure.new - echo "${portloc}|${pkgbase}|${pkgname}|$(date | tr ' ' '_')|$((${count}+1))" >> failure.new + echo "${portloc}|${pkgbase}|${pkgname}|$(date +%s| tr ' ' '_')|$((${count}+1))" >> failure.new mv failure.new failure else # Want newfailure to be in reverse chronological order mv newfailure newfailure.new - echo "${portloc}|${pkgbase}|${pkgname}|$(date | tr ' ' '_')" > newfailure + echo "${portloc}|${pkgbase}|${pkgname}|$(date +%s| tr ' ' '_')" > newfailure cat newfailure newfailure.new > newfailure.new2 mv newfailure.new2 newfailure rm newfailure.new - echo "${portloc}|${pkgbase}|${pkgname}|$(date)|1" >> failure + echo "${portloc}|${pkgbase}|${pkgname}|$(date +%s)|1" >> failure fi |