diff options
-rwxr-xr-x | bin/sclang | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,7 @@ -#!/bin/zsh -echo "$HOST" -if [[ $HOST == *dvzrv* ]]; then +#!/bin/sh +# If not running my laptop (with X screen), run sclang in a xvfb environment. +# This ensures getting around a bug with QPixmaps that needs a X server to run. +if [[ $HOSTNAME == *dvzrv* ]]; then echo "/usr/bin/sclang" /usr/bin/sclang "$@" else |