diff -r c22eff170fac -r 170c8b305768 imgtools/buildrom/tools/features --- a/imgtools/buildrom/tools/features Mon Nov 22 10:56:31 2010 +0800 +++ b/imgtools/buildrom/tools/features Mon Nov 22 13:38:53 2010 +0800 @@ -1,2 +1,8 @@ #!/bin/sh -perl -S features.pl $@ +PRGDIR=`dirname "$0"` + +PRGDIR=`cd "$PRGDIR"; pwd` + + +perl "$PRGDIR/features.pl" $@ +