source: build/bhep/trunk/obuild/sh/broadcast_install@ 126

Last change on this file since 126 was 126, checked in by barrand, 19 years ago
  • Property svn:executable set to *
File size: 1.4 KB
Line 
1#!/bin/sh -f
2
3#
4# File produced by the obuild tool version 1.0
5# for the package bhep with version v1r4p2.
6#
7
8#////////////////////////////////////////////////
9# Usage :
10# UNIX> cd some_path/pack/version/obuild
11# ( UNIX> chmod a+x sh/broadcast_install )
12# UNIX> sh/broadcast_install
13#
14#////////////////////////////////////////////////
15
16obuild_args="$*"
17
18obuild_verbose=no
19
20obuild_set_x=no
21while test $# -ge 1 ; do
22 case $1 in
23 -v) obuild_verbose=yes ;;
24 -x) obuild_set_x=yes ;;
25 *) echo "unknown option : $1";exit ;;
26 esac
27 shift
28done
29
30if [ ${obuild_set_x} = yes ] ; then
31 set -x
32fi
33
34# Binary directory is needed to create the obuild_find program.
35
36if [ "${OBUILD_PLATFORM}" = "" ] ; then
37 obuild_platform=`uname`
38else
39 obuild_platform=${OBUILD_PLATFORM}
40fi
41
42if [ "${obuild_platform}" = "" ] ; then
43 echo "obuild_platform variable not defined."
44 exit
45fi
46
47if [ "${OBUILD_DIR_BIN}" = "" ] ; then
48 obuild_dir_bin=${obuild_platform}_obuild
49else
50 obuild_dir_bin=${OBUILD_DIR_BIN}
51fi
52
53if [ "${obuild_dir_bin}" = "" ] ; then
54 echo "obuild_dir_bin variable not defined."
55 exit
56fi
57
58obuild_bhep_path=..
59
60# Create the bin directory :
61/bin/mkdir -p "${obuild_bhep_path}/${obuild_dir_bin}"
62
63if [ ! -e "${obuild_bhep_path}/obuild/sh/install" ] ; then
64 echo "install script not found for package bhep."
65 exit
66fi
67if [ ${obuild_verbose} = yes ] ; then
68 echo "install setups of bhep"...
69fi
70cd "${obuild_bhep_path}/obuild"
71./sh/install
72
Note: See TracBrowser for help on using the repository browser.