Blame SOURCES/hsqldb-tmp.patch

100e1c
diff -ur hsqldb.orig/bin/hsqldb hsqldb/bin/hsqldb
100e1c
--- hsqldb.orig/bin/hsqldb	2006-09-05 10:37:12.000000000 -0400
100e1c
+++ hsqldb/bin/hsqldb	2006-09-05 10:50:45.000000000 -0400
100e1c
@@ -110,7 +110,10 @@
100e1c
 SU_ECHO_SECS=1
100e1c
 # File used as semaphore.  If file is removed, a running pid checker
100e1c
 # process will exit.
100e1c
-PIDCHECKER_FLAGFILE=/tmp/pidchecker.run
100e1c
+PIDCHECKER_FLAGFILE=`mktemp /tmp/hsqldb.XXXXXXXX`
100e1c
+if [ x"$PIDCHECKER_FLAGFILE" = "x" ] ; then
100e1c
+	echo "unable to create tmp file"; exit 1
100e1c
+fi
100e1c
 # The following settings get overridden by optional setting in the config file.
100e1c
 # Time to allow for JVM to die after all HSQLDB instances stopped.
100e1c
 MAX_TERMINATE_SECS=1