diff options
author | David Runge <david.runge@frqrec.com> | 2013-11-26 22:39:00 +0100 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2013-11-26 22:39:00 +0100 |
commit | d5a87dcc0e8a23fdba2c74c95750bd103f8d4df1 (patch) | |
tree | 62d158c8b7b8094e8ee24a3f5df62b290766528d | |
parent | af50d39e01b3801b40bb9364668226bcfe154d05 (diff) | |
download | dotfiles-d5a87dcc0e8a23fdba2c74c95750bd103f8d4df1.tar.gz dotfiles-d5a87dcc0e8a23fdba2c74c95750bd103f8d4df1.tar.bz2 dotfiles-d5a87dcc0e8a23fdba2c74c95750bd103f8d4df1.tar.xz dotfiles-d5a87dcc0e8a23fdba2c74c95750bd103f8d4df1.zip |
Updated local sclang to /bin/sh and usage of hostname
-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 |