--- 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" $@
+