1 |
#!/bin/sh |
#!/bin/sh |
2 |
|
|
3 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/env-rebuild.sh,v 1.9 2005-10-04 15:07:47 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/env-rebuild.sh,v 1.10 2005-10-04 15:24:33 niro Exp $ |
4 |
# |
# |
5 |
# rebuilds /etc/{ld.so.conf,profile.env} with given files from /etc/env.d |
# rebuilds /etc/{ld.so.conf,profile.env} with given files from /etc/env.d |
6 |
# |
# |
37 |
for file in ${P}/etc/env.d/* |
for file in ${P}/etc/env.d/* |
38 |
do |
do |
39 |
# abort if "empty" |
# abort if "empty" |
40 |
[[ ${file} = ${P}/etc/env.d/* ]] && continue |
[[ ${file} = ${P}/etc/env.d/\* ]] && continue |
41 |
|
|
42 |
# reads content of every file |
# reads content of every file |
43 |
while read path |
while read path |