jobs/updateweb.sh: use more robust path for lockfile
commitc554c2a58727e475ccc41af7f0a7c70268e320c8
authorJan Krüger <jk@jk.gs>
Wed, 30 Nov 2011 08:01:34 +0000 (30 09:01 +0100)
committerJan Krüger <jk@jk.gs>
Wed, 30 Nov 2011 08:01:34 +0000 (30 09:01 +0100)
tree44f75edfb5d685d05ef4b03fc89183ba6b57dbf8
parent5a5d6b789e8569dbe8685e5324ec8d5048e563ad
jobs/updateweb.sh: use more robust path for lockfile

Obviously the locking mechanism still isn't safe from race conditions,
but the old path of the file assumed the existence of a certain
directory in /tmp and the script broke if it didn't exist. So, use a
file that's in /tmp itself instead.

Signed-off-by: Jan Krüger <jk@jk.gs>
jobs/updateweb.sh