>>>>> "Michael" == Michael G Schwern <[EMAIL PROTECTED]> writes:

Michael> Odd.  $$PWD works for me but $PWD doesn't.  Is this using fink's make?

Michael> Anyhow, both are dodgy.  I just wanted something to make it absolute.  $(PWD) 
Michael> seems better.  I'll switch it to that.

The difference would be that $(PWD) will insert the PWD variable
or PWD envar known to Make, while $$PWD will defer that to the
shell as $PWD.  You'd see the difference in:

        cd /etc; echo $(PWD)

vs

        cd /etc; echo $$PWD

Which one is right?  Depends on what you needed it for.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to