--- 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" $@
+
--- 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" $@
+
--- a/imgtools/romtools/maksym/fixupsym Mon Nov 22 10:56:31 2010 +0800
+++ b/imgtools/romtools/maksym/fixupsym Mon Nov 22 13:38:53 2010 +0800
@@ -1,3 +1,9 @@
#!/bin/sh
-perl -S fixupsym.pl $@
+PRGDIR=`dirname "$0"`
+
+PRGDIR=`cd "$PRGDIR"; pwd`
+
+perl "$PRGDIR/fixupsym.pl" $@
+
+
--- a/imgtools/romtools/maksym/hpsym Mon Nov 22 10:56:31 2010 +0800
+++ b/imgtools/romtools/maksym/hpsym Mon Nov 22 13:38:53 2010 +0800
@@ -1,3 +1,9 @@
#!/bin/sh
-perl -S hpsym.pl $@
+PRGDIR=`dirname "$0"`
+
+PRGDIR=`cd "$PRGDIR"; pwd`
+
+perl "$PRGDIR/hpsym.pl" $@
+
+
--- a/imgtools/romtools/maksym/maksym Mon Nov 22 10:56:31 2010 +0800
+++ b/imgtools/romtools/maksym/maksym Mon Nov 22 13:38:53 2010 +0800
@@ -1,3 +1,9 @@
#!/bin/sh
-perl -S maksym.pl $@
+PRGDIR=`dirname "$0"`
+
+PRGDIR=`cd "$PRGDIR"; pwd`
+
+perl "$PRGDIR/maksym.pl" $@
+
+
--- a/imgtools/romtools/maksym/maksymrofs Mon Nov 22 10:56:31 2010 +0800
+++ b/imgtools/romtools/maksym/maksymrofs Mon Nov 22 13:38:53 2010 +0800
@@ -1,3 +1,9 @@
#!/bin/sh
-perl -S maksymrofs.pl $@
+PRGDIR=`dirname "$0"`
+
+PRGDIR=`cd "$PRGDIR"; pwd`
+
+perl "$PRGDIR/maksymrofs.pl" $@
+
+