root/other/dsss-testing-framework/update.sh
| Revision 739, 427 bytes (checked in by Gregor, 1 year ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | #!/bin/bash |
| 2 | . plats.sh |
| 3 | |
| 4 | export PATH="/opt/dsss-test/$PRIMARY_PLAT/bin:$PATH" |
| 5 | |
| 6 | mkdir /tmp/dsss-update.$$ || exit 1 |
| 7 | cd /tmp/dsss-update.$$ |
| 8 | dsss net fetch dsss || exit 1 |
| 9 | tar vzxf dsss.tar.gz || exit 1 |
| 10 | dsss build || exit 1 |
| 11 | |
| 12 | for i in $PLATS |
| 13 | do |
| 14 | cp -f /opt/dsss-test/$i/etc/rebuild/default . |
| 15 | dsss install --prefix=/opt/dsss-test/$i |
| 16 | cp -f default /opt/dsss-test/$i/etc/rebuild/default |
| 17 | done |
| 18 | |
| 19 | cd ~ |
| 20 | rm -rf /tmp/dsss-update.$$ |
Note: See TracBrowser for help on using the browser.
