aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-02-22 22:19:03 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-02-22 22:19:03 +0000
commit6f6a583bc76bb7d9a692a46f91dfe0dfa2bb1611 (patch)
tree0a52ddb13b99fe90914e24ec0a98508c629f4706 /Tools
parent0aa749d4da67168b5c0866a00e5b43d0aa32ffcf (diff)
downloadports-6f6a583bc76bb7d9a692a46f91dfe0dfa2bb1611.tar.gz
ports-6f6a583bc76bb7d9a692a46f91dfe0dfa2bb1611.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/buildfailure6
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