package/pmake: force argv[0]=${0} in the pmake wrapper
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 14 May 2013 11:45:57 +0000 (11:45 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 30 May 2013 20:33:05 +0000 (22:33 +0200)
commit3e037134a4d4e0429a413e80f345291118e8157d
tree984ecb43aa6a675ff3d292b3c2cb0245dd3ef6ba
parentac23d50496d590026fe5ae140bc5e98e72f208e3
package/pmake: force argv[0]=${0} in the pmake wrapper

This forces bmake to call the wrapper, not itself.
Also, use consistent "${0/*}" instead of "${0/pmake}".

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pmake/pmake.mk