1 |
#!/bin/sh |
#!/bin/sh |
2 |
|
|
3 |
# $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 $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/env-rebuild.sh,v 1.11 2005-12-01 12:37:47 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 |
# |
# |
25 |
TMPDIR="$(/bin/mktemp -d -p /var/tmp)" |
TMPDIR="$(/bin/mktemp -d -p /var/tmp)" |
26 |
else |
else |
27 |
TMPDIR="/var/tmp/tmp.$$" |
TMPDIR="/var/tmp/tmp.$$" |
28 |
|
install -d ${TMPDIR} |
29 |
fi |
fi |
30 |
|
|
31 |
echo -en "\n>>>> Rebuilding environment... " |
echo -en "\n>>>> Rebuilding environment... " |