Hello,

You have got nothing for:
./sage --sh -c "echo $PKG_CONFIG_PATH"
Because your shell expands $PKG_CONFIG_PATH first. Using single quotes will preserve the literal $. So you can use this instead:
./sage --sh -c 'echo $PKG_CONFIG_PATH'

That is the difference between echo "$PATH" and echo '$PATH'.

Best regards,
TB

On 07/11/2013 04:07 PM, Paul Mercat wrote:
From the Sage shell, the command
echo $PKG_CONFIG_PATH
gives
/Users/mercat/sage-5.10/local/lib/pkgconfig

Le jeudi 11 juillet 2013 15:04:10 UTC+2, Jean-Pierre Flori a écrit :


On Thursday, July 11, 2013 2:05:58 PM UTC+2, Paul Mercat wrote:
./sage --sh -c "echo $PKG_CONFIG_PATH"
gives

(nothing)

For me as well in fact...
And from a real Sage shell (./sage --sh) ?
There I get something.
--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to