Permalink
Browse files

Fix xvfb-run script.

  • Loading branch information...
1 parent 9a38ea4 commit 0fd14fa3e82631e4c11c271f39a13a42c03fcc05 Jens Braeuer committed Nov 7, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 SOURCES/xvfb-run.sh
  2. +1 −1 SPECS/phantomjs-1.1.0.spec
View
@@ -151,7 +151,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 --tmpdir="$XVFB_RUN_TMPDIR" Xauthority.XXXXXXXX)
fi
# Start Xvfb.
@@ -1,7 +1,7 @@
Summary: PhantomJS is a headless WebKit with JavaScript API
Name: phantomjs
Version: 1.1.0
-Release: 8%{?dist}
+Release: 9%{?dist}
License: BSD
Group: unknown
URL: http://code.google.com/p/phantomjs/

0 comments on commit 0fd14fa

Please sign in to comment.