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

Last change on this file since 85 was 85, checked in by rosiere, 16 years ago
  • Ifetch_unit : systemC test ok
  • modif shell script and makefile.tools : SHELL=/bin/bash
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 737 bytes
Line 
1#!/bin/bash
2
3#-----------------------------------------------------------
4# $Id: first_run.sh 85 2008-05-14 13:09:48Z rosiere $
5#-----------------------------------------------------------
6
7#-----[ usage ]---------------------------------------------
8function usage ()
9{
10    echo "Usage     : ${0}";
11    echo "Note      :";
12    echo " * Morpheo's environnement must be positionned.";
13    exit;
14}
15
16#-----[ main ]----------------------------------------------
17function main ()
18{
19    if test ${#} -ne 0 -o -z ${MORPHEO_HOME}; then
20        usage ${*};
21    fi;
22
23    # create directories
24    mkdir ${MORPHEO_HOME};
25    mkdir ${MORPHEO_HOME}/lock; # lock      directory
26    mkdir ${MORPHEO_HOME}/tmp;  # temporary directory
27}
28
29#-----[ Body ]----------------------------------------------
30main ${*}
Note: See TracBrowser for help on using the repository browser.