merging trunk
[ardour.git] / tools / osx_packaging / bin / getdisplay.sh
1 #!/bin/sh
2 #
3 # Author: Aaron Voisine <aaron@voisine.org>
4
5 if [ "$DISPLAY"x == "x" ]; then
6     echo :0 > /tmp/$UID/TemporaryItems/display
7 else
8     echo $DISPLAY > /tmp/$UID/TemporaryItems/display
9 fi