source: trunk/IPs/systemC/processor/Morpheo/Script/first_run.sh @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 605 bytes
Line 
1#!/bin/sh
2
3#-----[ usage ]---------------------------------------------
4function usage ()
5{
6    echo "Usage     : ${0}";
7    echo "Note      :";
8    echo " * Morpheo's environnement must be positionned.";
9    exit;
10}
11
12#-----[ main ]----------------------------------------------
13function main ()
14{
15    if test ${#} -ne 0 -o -z ${MORPHEO_HOME}; then
16        usage ${*};
17    fi;
18
19    # create directories
20    mkdir ${MORPHEO_HOME};
21    mkdir ${MORPHEO_HOME}/lock; # lock      directory
22    mkdir ${MORPHEO_HOME}/tmp;  # temporary directory
23}
24
25#-----[ Body ]----------------------------------------------
26main ${*}
Note: See TracBrowser for help on using the repository browser.