source: trunk/scripts/tile/recompilesage @ 6

Revision 6, 374 bytes checked in by ajaworski, 13 years ago (diff)

Added scripts from tile machine

  • Property svn:executable set to *
Line 
1#! /bin/bash
2echo "Recompiling SAGE [$1] on `hostname`"
3
4cd ~/SAGE/$1
5make -j 8 > /dev/null 2> /dev/null
6
7if [ "$?" != 0 ]
8then
9        echo "Error while compiling"
10        exit
11fi
12
13if [ -e /usr/local/sage ]
14then
15        echo "Removing SAGE"
16        sudo rm -r /usr/local/sage
17fi
18
19echo "Installing SAGE"
20sudo make install > /dev/null
21cd /usr/local/sage
22sudo ln -s lib64 lib
23
24echo "`hostname` all done"
Note: See TracBrowser for help on using the repository browser.