source: branches/Release2.1/external/casa_asap/build.sh@ 2005

Last change on this file since 2005 was 1206, checked in by mar637, 18 years ago

Forgot to set ROOTDIR

  • Property svn:executable set to *
File size: 567 bytes
Line 
1#!/bin/sh
2
3ROOTDIR=`pwd`
4. aipsinit.sh
5
6MODULES="casa components coordinates fits images lattices measures ms scimath tables atnf"
7
8echo 'Building modules. This might take a while.'
9echo 'Progress can be seen with tail -f build.log'
10if [ -f 'build.log' ]
11then
12 rm build.log
13 touch build.log
14fi
15for mod in ${MODULES}
16do
17 cd $ROOTDIR/code/$mod
18 echo "Making module $mod..."
19 make cleansys >> $ROOTDIR/build.log 2>&1
20 make >> $ROOTDIR/build.log 2>&1
21done
22echo 'Finished building the casa modules required by ASAP'
23echo 'Look for status in build.log'
Note: See TracBrowser for help on using the repository browser.