Compat with tpkg timing code.

git-svn-id: file:///svn/unbound/trunk@2393 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2011-02-23 09:56:13 +00:00
parent d8928e1b19
commit c07e17fda3

View File

@ -81,6 +81,7 @@ mv $name.dir/* .
# EXE
echo "minitpkg exe $name" > $result
echo "DateRunStart: "`date "+%s" 2>/dev/null` >> $result
if test -f $name.pre; then
echo "minitpkg exe $name.pre"
echo "minitpkg exe $name.pre" >> $result
@ -112,6 +113,7 @@ if test -f $name.post; then
echo "Warning: $name.post did not exit successfully"
fi
fi
echo "DateRunEnd: "`date "+%s" 2>/dev/null` >> $result
mv $result ..
cd ..