Last change
on this file since 83 was
82,
checked in by rosiere, 16 years ago
|
- support locale (now must "just" translate)
- update all component with new test format
- update all component with usage
- New component : decod queue and prediction_unit
|
-
Property svn:executable set to
*
-
Property svn:keywords set to
Id
|
File size:
734 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | #----------------------------------------------------------- |
---|
3 | # $Id: first_run.sh 82 2008-05-01 16:48:45Z rosiere $ |
---|
4 | #----------------------------------------------------------- |
---|
5 | |
---|
6 | #-----[ usage ]--------------------------------------------- |
---|
7 | function usage () |
---|
8 | { |
---|
9 | echo "Usage : ${0}"; |
---|
10 | echo "Note :"; |
---|
11 | echo " * Morpheo's environnement must be positionned."; |
---|
12 | exit; |
---|
13 | } |
---|
14 | |
---|
15 | #-----[ main ]---------------------------------------------- |
---|
16 | function main () |
---|
17 | { |
---|
18 | if test ${#} -ne 0 -o -z ${MORPHEO_HOME}; then |
---|
19 | usage ${*}; |
---|
20 | fi; |
---|
21 | |
---|
22 | # create directories |
---|
23 | mkdir ${MORPHEO_HOME}; |
---|
24 | mkdir ${MORPHEO_HOME}/lock; # lock directory |
---|
25 | mkdir ${MORPHEO_HOME}/tmp; # temporary directory |
---|
26 | } |
---|
27 | |
---|
28 | #-----[ Body ]---------------------------------------------- |
---|
29 | main ${*} |
---|
Note: See
TracBrowser
for help on using the repository browser.