source: tags/Release2.1.0b/external/casa_asap/build.sh @ 1206

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

Forgot to set ROOTDIR

  • Property svn:executable set to *
File size: 567 bytes
RevLine 
[1159]1#!/bin/sh
2
[1206]3ROOTDIR=`pwd`
[1161]4. aipsinit.sh
[1159]5
[1161]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
[1159]14fi
[1161]15for mod in ${MODULES}
[1159]16do
[1161]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
[1159]21done
[1161]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.