Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] make.conf/make.globals in Bashscript nutzen.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

rackathon
 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
frank_tireur
n00b
n00b


Joined: 31 Mar 2007
Posts: 8

PostPosted: Mon May 05, 2008 12:22 pm    Post subject: [solved] make.conf/make.globals in Bashscript nutzen. Reply with quote

Hallo,

Ich bastle gerade an einem Bashscript, das es mir mit ermöglicht anhand eines ausgewählten Profil den portage-tree von usb-Festplatte/Stick und/oder von einem anderen Rechner zu mounten.
Die Mountpunkte entnehme ich der make.conf bzw. make.globals mittels dem Befehl "source". Jetzt habe ich ja dann auch die variblen PORTDIR, PKGDIR, DISTDIR und RPMDIR zur Verfügung. Als Nebeneffekt habe ich aber auch USE etc. Gibt es da was geschickteres, als das über den Befehl soure "/etc/make.globals" bzw. source "/etc/make.conf" um an die gewünschten Variblen zu kommen?

Gruß
frank_tireur


Last edited by frank_tireur on Mon May 05, 2008 1:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
mv
Veteran
Veteran


Joined: 20 Apr 2005
Posts: 1542

PostPosted: Mon May 05, 2008 1:30 pm    Post subject: Reply with quote

portageq
Back to top
View user's profile Send private message
frank_tireur
n00b
n00b


Joined: 31 Mar 2007
Posts: 8

PostPosted: Mon May 05, 2008 1:45 pm    Post subject: Reply with quote

Super. Danke.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum