cubicweb/devtools/data/xvfb-run.sh
changeset 12821 fce106b9977d
parent 11057 0b59724cb3f2
--- a/cubicweb/devtools/data/xvfb-run.sh	Tue Dec 17 16:56:23 2019 +0100
+++ b/cubicweb/devtools/data/xvfb-run.sh	Tue Dec 17 17:19:15 2019 +0100
@@ -148,7 +148,8 @@
 if [ -z "$AUTHFILE" ]; then
     XVFB_RUN_TMPDIR="$(mktemp -d -t $PROGNAME.XXXXXX)"
     # Create empty file to avoid xauth warning
-    AUTHFILE=$(tempfile -n "$XVFB_RUN_TMPDIR/Xauthority")
+    touch "$XVFB_RUN_TMPDIR/Xauthority"
+    AUTHFILE="$XVFB_RUN_TMPDIR/Xauthority"
 fi
 
 # Start Xvfb.