# HG changeset patch # User lorewang # Date 1290404333 -28800 # Node ID 170c8b3057689bbe3c55762842e9ac4cb1e6dbd5 # Parent c22eff170fac3533ad3d770aabdc80287deaa58a ou1cimx1#569997 tools wrapper is not in 'LINUX style' diff -r c22eff170fac -r 170c8b305768 imgtools/buildrom/tools/buildrom --- 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" $@ + diff -r c22eff170fac -r 170c8b305768 imgtools/buildrom/tools/features --- 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" $@ + diff -r c22eff170fac -r 170c8b305768 imgtools/romtools/maksym/fixupsym --- 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" $@ + + diff -r c22eff170fac -r 170c8b305768 imgtools/romtools/maksym/hpsym --- 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" $@ + + diff -r c22eff170fac -r 170c8b305768 imgtools/romtools/maksym/maksym --- 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" $@ + + diff -r c22eff170fac -r 170c8b305768 imgtools/romtools/maksym/maksymrofs --- 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" $@ + +