#!/bin/bash
if [ -x @APPDIR@/X11.app/Contents/MacOS/X11 ]; then
	open -a @APPDIR@/X11.app/Contents/MacOS/X11 @PREFIX@/bin/gwyddion
else 
	open -a /Applications/Utilities/X11.app/Contents/MacOS/X11 @PREFIX@/bin/gwyddion
fi
