Last change
on this file was
4,
checked in by willem, 11 years ago
|
willem
|
-
Property svn:executable set to
*
|
File size:
562 bytes
|
Rev | Line | |
---|
[4] | 1 | #!/bin/bash |
---|
| 2 | umask 022 |
---|
| 3 | case `hostname` in |
---|
| 4 | *r7n1*|piccolo) installdir=/sara/sw/disparm-1.1 |
---|
| 5 | ;; |
---|
| 6 | *) installdir=$HOME/myroot/sara/sw/disparm-1.1 |
---|
| 7 | ;; |
---|
| 8 | esac |
---|
| 9 | mkdir -p $installdir/{bin,man/man1} |
---|
| 10 | chmod 755 $installdir |
---|
| 11 | chmod 755 $installdir/{bin,man,man/man1} |
---|
| 12 | make || exit |
---|
| 13 | echo installing in $installdir : |
---|
| 14 | cp disparmcmd sara-get-mem-size sara-get-num-cores $installdir/bin || exit |
---|
| 15 | cp disparm.1 disparmcmd.1 sara-get-mem-size.1 sara-get-num-cores.1 $installdir/man/man1 || exit |
---|
| 16 | chmod 755 $installdir/bin/* || exit |
---|
| 17 | chmod 644 $installdir/man/man1/* || exit |
---|
| 18 | echo done |
---|
Note: See
TracBrowser
for help on using the repository browser.