diff -r df89378e9223 -r 7b7f0409fc00 imgtools/buildrom/tools/features --- a/imgtools/buildrom/tools/features Tue Nov 30 13:59:58 2010 +0800 +++ b/imgtools/buildrom/tools/features Tue Nov 30 14:05:41 2010 +0800 @@ -1,2 +1,8 @@ #!/bin/sh -perl -S features.pl $@ +PRGDIR=`dirname "$0"` + +PRGDIR=`cd "$PRGDIR"; pwd` + + +perl "$PRGDIR/features.pl" $@ +