Skip to content

Commit

Permalink
Fix work with environment variables at xvfb-run (was done in #445 b…
Browse files Browse the repository at this point in the history
…ut was overwritten by #455)
  • Loading branch information
diemol committed Apr 17, 2017
1 parent 69707f0 commit ff9da01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NodeChromeDebug/entry_point.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ rm -f /tmp/.X*lock
env | cut -f 1 -d "=" | sort > asroot
sudo -E -u seluser -i env | cut -f 1 -d "=" | sort > asseluser
sudo -E -i -u seluser \
$(for E in $(grep -vxFf asseluser asroot); do echo $E=$(eval echo \$$E); done) \
"$(for E in $(grep -vxFf asseluser asroot); do echo $E=$(eval echo \$$E); done)" \
DISPLAY=$DISPLAY \
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
Expand Down

0 comments on commit ff9da01

Please sign in to comment.