#!/bin/sh

if [ -n "$(find %%DATADIR%% -type f 2>/dev/null)" ]; then
	exec %%PREFIX%%/libexec/rawgl --datapath=%%DATADIR%% "$@"
else
	exec %%PREFIX%%/libexec/rawgl "$@"
fi
