--- ember.in.orig	Tue Jul 31 06:08:49 2007
+++ ember.in	Tue Jul 31 06:10:35 2007
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 
 
@@ -40,8 +40,9 @@
 # Setup variables
 
 #get the dir where this script resides in
-path=`FindPath`
-test=${path[0]}
+set -- $(FindPath)
+path=$*
+test=$1
 #if [ "$fullpath" = "" ]; then
 if [ "$test" = "." ]; then
 	path=${PWD}

