Overview
| Comment: | Added -strip option |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
06ed7cb0b6231c663749d1762a3aee33 |
| User & Date: | gawthrop@users.sourceforge.net on 2000-09-02 15:21:31.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2000-09-02
| ||
| 15:53:53 | Now does partitioning up to dae.view check-in: 013b1fab87 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 15:21:31 | Added -strip option check-in: 06ed7cb0b6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 14:46:43 | Initial revision check-in: 9e50e5fe64 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/mtt_get_subsystems
from [f52b831404]
to [21c4e58c61].
1 2 3 4 5 |
#!/bin/sh
# Gets the subsystems
subsystems=`sh $1_type.sh 'echo ' ' ' | awk '{if (NR>1) print $2}'`
| > > > > > > > > > > > > > > > | > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
#!/bin/sh
# Gets the subsystems
while [ -n "`echo $1 | grep '^-'`" ]; do
case $1 in
-strip )
strip=yes;
;;
*)
echo "$1 is an invalid argument - ignoring";
exit ;;
esac
shift
done
subsystems=`sh $1_type.sh 'echo ' ' ' | awk '{if (NR>1) print $2}'`
if [ -n "$strip" ]; then
echo $subsystems | sed "s/$1_//" | sed "s/ $1_/ /g"
else
echo $subsystems
fi
|