Last change
on this file since 1561 was
1542,
checked in by jghattas, 13 years ago
|
Now also build_gcm is changed to bash. Done for makelmdz_fcm long time
ago.
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
569 bytes
|
Rev | Line | |
---|
[1542] | 1 | #!/bin/bash |
---|
[783] | 2 | |
---|
[1542] | 3 | if test -f '.lock' |
---|
| 4 | then |
---|
| 5 | echo 'ATTENTION: vous etes sans doute en train de compiler le modele par ailleurs' |
---|
| 6 | echo "Attendez que la premiere compilation soit terminee pour relancer la suivante." |
---|
| 7 | echo "Si vous etes sur que vous ne compilez pas le modele par ailleurs," |
---|
| 8 | echo "vous pouvez continuer en repondant oui." |
---|
| 9 | echo "Voulez-vous vraiment continuer?" |
---|
| 10 | read ouinon |
---|
| 11 | if [[ $ouinon == "oui" ]] |
---|
| 12 | then |
---|
| 13 | echo OK |
---|
| 14 | else |
---|
| 15 | exit |
---|
| 16 | fi |
---|
[783] | 17 | else |
---|
[1542] | 18 | echo "compilation en cours..." > '.lock' |
---|
| 19 | fi |
---|
[783] | 20 | |
---|
| 21 | #set arch=$1 |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | fcm build |
---|
| 25 | |
---|
| 26 | \rm -f '.lock' |
---|
[1542] | 27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.