|
Revision 803, 0.9 kB
(checked in by Gregor, 1 year ago)
|
--
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
#!/bin/bash |
|---|
| 2 |
. plats.sh |
|---|
| 3 |
|
|---|
| 4 |
# Recreate Phobos headers (destroyed by tangobosify) |
|---|
| 5 |
for i in $PLATS |
|---|
| 6 |
do |
|---|
| 7 |
pushd /opt/dsss-test/$i |
|---|
| 8 |
if [ -e phobos.tar.bz2 ] |
|---|
| 9 |
then |
|---|
| 10 |
tar jxf phobos.tar.bz2 |
|---|
| 11 |
rm -f phobos.tar.bz2 |
|---|
| 12 |
fi |
|---|
| 13 |
popd |
|---|
| 14 |
done |
|---|
| 15 |
|
|---|
| 16 |
# Swap .phobos files back in |
|---|
| 17 |
for i in `find /opt/dsss-test -name '*.phobos'` |
|---|
| 18 |
do |
|---|
| 19 |
mv -f $i ${i/.phobos} |
|---|
| 20 |
done |
|---|
| 21 |
|
|---|
| 22 |
# Remove any tango dirs and object.di |
|---|
| 23 |
find /opt/dsss-test -name 'tango' -o -name 'object.di' | xargs rm -rf |
|---|
| 24 |
|
|---|
| 25 |
# Un-remove /etc/rebuild/tango |
|---|
| 26 |
for i in /opt/dsss-test/*/etc/rebuild |
|---|
| 27 |
do |
|---|
| 28 |
cp -f tango $i |
|---|
| 29 |
done |
|---|
| 30 |
|
|---|
| 31 |
# Uninstall tangobos (if it's installed) |
|---|
| 32 |
for i in $PLATS |
|---|
| 33 |
do |
|---|
| 34 |
PATH="/opt/dsss-test/$i/bin:$PATH" dsss uninstall tangobos |
|---|
| 35 |
done |
|---|
| 36 |
|
|---|
| 37 |
# Unfortunately, DMD can't be untango'd right now, so just reinstall it |
|---|
| 38 |
PATH="/opt/dsss-test/i586-pc-linux-gnu-dmd/bin:$PATH" dsss net --source=http://svn.dsource.org/projects/dsss/sources install dmd |
|---|