ou1cimx1#569997 tools wrapper is not in 'LINUX style'
authorlorewang
Mon, 22 Nov 2010 13:38:53 +0800
changeset 701 170c8b305768
parent 700 c22eff170fac
child 702 341ab25bc4ef
ou1cimx1#569997 tools wrapper is not in 'LINUX style'
imgtools/buildrom/tools/buildrom
imgtools/buildrom/tools/features
imgtools/romtools/maksym/fixupsym
imgtools/romtools/maksym/hpsym
imgtools/romtools/maksym/maksym
imgtools/romtools/maksym/maksymrofs
--- 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" $@
+
+