[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: How do I reference a shell variable from guile script?



Suppose I want to build a path like: $HOME/<path>/gedasymbols to pick up component libraries, without unrolling $HOME into a hard path in a (define..) -- how do I get guile to pick up the value of $HOME from the shell, and then get it pasted into the rest of the stuff?

I'm aiming for:
(define gedasymbols <path built off $HOME>)
(component-library (build-path gedasymbols "foo"))

TIA
-dave



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user