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