[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r19961: {translation} make sure the lockfile is deleted after (translation/trunk/tools/gsoc09)



Author: runa
Date: 2009-07-09 09:50:43 -0400 (Thu, 09 Jul 2009)
New Revision: 19961

Modified:
   translation/trunk/tools/gsoc09/po2wml.sh
Log:
make sure the lockfile is deleted after

Modified: translation/trunk/tools/gsoc09/po2wml.sh
===================================================================
--- translation/trunk/tools/gsoc09/po2wml.sh	2009-07-09 13:50:25 UTC (rev 19960)
+++ translation/trunk/tools/gsoc09/po2wml.sh	2009-07-09 13:50:43 UTC (rev 19961)
@@ -29,7 +29,7 @@
 	exit 1
 fi
 
-trap "rm -f '$LOCKFILE'" exit
+trap "rm -f '$PWD/$LOCKFILE'" exit
 
 # cd to the right directory so we can commit the files later
 cd "$wmldir"