Makefile macros - dependency to shell

Paweł Sakowski pawel at sakowski.eu.org
Tue Sep 21 14:21:17 CEST 2004


On Tue, 2004-09-21 at 13:44 +0200, jerzy szczudłowski wrote:
>  Transition bash ->
> ksh works for me too. But again, su from user at bash to root at ksh don't.

You mean, as in:

$ cat Makefile
dupa:
        echo "$(PWD)"
$ head -n1 /etc/passwd
root:x:0:0:root:/root:/bin/ksh
$ su root
Password:
# make
echo "/tmp"
/tmp
# rpm -q pdksh make bash
pdksh-5.2.14-41
make-3.80-5
bash-2.05b-15

Yep, works as expected.

> > (which shouldn't matter anyway).
> 
> But when it does, where should I look to change it?

strace -f make

-- 
+----------------------------------------------------------------------+
| Paweł Sakowski <pawel at sakowski.eu.org>            Never trust a man  |
|                            who can count up to 1023 on his fingers.  |
+----------------------------------------------------------------------+






More information about the pld-devel-en mailing list