#!/bin/sh
#
# getXBinPath - return the bin directory for x programs
#

EXE_LOCATION=`cmdLocation X`

if [ -z "$EXE_LOCATION" ]
then
    EXE_LOCATION=`cmdLocation xlogo`
fi

if [ -z "$EXE_LOCATION" ]
then
    EXE_LOCATION=`cmdLocation xsetbg`
fi

DIR=`dirname $EXE_LOCATION`

echo `deReference $DIR`

