Show
Ignore:
Timestamp:
09/06/07 13:12:08 (1 year ago)
Author:
Gregor
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • other/dsss-testing-framework/untango.sh

    r739 r803  
    11#!/bin/bash 
     2. plats.sh 
     3 
     4# Recreate Phobos headers (destroyed by tangobosify) 
     5for i in $PLATS 
     6do 
     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 
     14done 
     15 
     16# Swap .phobos files back in 
    217for i in `find /opt/dsss-test -name '*.phobos'` 
    318do 
     
    520done 
    621 
    7 find /opt/dsss-test -name 'tango' | xargs rm -rf 
     22# Remove any tango dirs and object.di 
     23find /opt/dsss-test -name 'tango' -o -name 'object.di' | xargs rm -rf 
     24 
     25# Un-remove /etc/rebuild/tango 
    826for i in /opt/dsss-test/*/etc/rebuild 
    927do 
     
    1129done 
    1230 
     31# Uninstall tangobos (if it's installed) 
     32for i in $PLATS 
     33do 
     34    PATH="/opt/dsss-test/$i/bin:$PATH" dsss uninstall tangobos 
     35done 
     36 
    1337# Unfortunately, DMD can't be untango'd right now, so just reinstall it 
    1438PATH="/opt/dsss-test/i586-pc-linux-gnu-dmd/bin:$PATH" dsss net --source=http://svn.dsource.org/projects/dsss/sources install dmd