diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-12-05 21:53:17 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-12-05 21:53:52 +0100 |
commit | ece846650c9ac7da2167b7d1bf538d27757f4118 (patch) | |
tree | 6a0806d226477cca6b91916fadf4040c0e398e19 | |
parent | 47f20415c056ed56108dbf5a1894be3a119e8c5d (diff) |
loperf: Remove lock files if there are any, before executing
-rwxr-xr-x | loperf/loperf.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loperf/loperf.sh b/loperf/loperf.sh index b98b6a9..a09f335 100755 --- a/loperf/loperf.sh +++ b/loperf/loperf.sh @@ -44,6 +44,7 @@ export OOO_DISABLE_RECOVERY=1 OFFICEBIN="$1" DOCUMENTSDIR="$2" test -z "$DOCUMENTSDIR" && echo "missing second parameter: directory with documents to test" && exit 1 +rm -f $DOCUMENTSDIR/.~lock* TESTDATE=$(date --rfc-3339=second) |