#!/bin/sh CANONPATH=`readlink -f "$0"` DIRPATH="`dirname "$CANONPATH"`" cd $DIRPATH LD_LIBRARY_PATH=./libs ./ecode