stx-docker.sh
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 30 Jun 2016 17:14:29 +0100
branchjv
changeset 1447 0b149293564f
parent 1385 d61b4842760c
permissions -rwxr-xr-x
Issue #98: Added -P / --package-path command line option ...to modify package path from command line. Just like java's -cp / --classpath

#!/bin/bash
set -e

test -f .Xauthority.org && xauth -f .Xauthority.org list | sed -e '/unix/!d' -e "s+.*/unix:+add $(hostname)/unix:+" | xauth 2>/dev/null -
test -z "$1" && exec stx/projects/smalltalk/stx
exec "$@"