Browse Source

xvfb-run: fix for "mktemp: too few X's in template `Xauthority'"

user/chris/test/early-mdev
Aldas Nabazas 14 years ago
parent
commit
b7cbb1a4b3
  1. 4
      xorg/xorg-server/xvfb-run.sh

4
xorg/xorg-server/xvfb-run.sh

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../xorg-server/xvfb-run.sh
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2008 - 2010 The OpenSDE Project
# Copyright (C) 2005 - 2006 The T2 SDE Project
# Copyright (C) XXXX - 2005 Debian
#
@ -152,7 +152,7 @@ if [ -z "$AUTHFILE" ]; then
error "temporary directory $XVFB_RUN_TMPDIR already exists"
exit 4
fi
AUTHFILE=$(mktemp -p "$XVFB_RUN_TMPDIR" Xauthority)
AUTHFILE=$(mktemp -p "$XVFB_RUN_TMPDIR" Xauthority.XXXXXXXX)
fi
# Start Xvfb.

Loading…
Cancel
Save