aboutsummaryrefslogtreecommitdiffstats
path: root/org.openembedded.bc.ui/scripts/bug_install.sh
blob: 89e97fe23e69c495d40f3f5fc15a2ba5f93f6d9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
# Installation script for BUG R1.4
# Adapted from instructions available at http://wiki.openembedded.net/index.php/Getting_started
# This script can be executable as shell script after substituting {| |} variables with real values.
# 4/3/2009 Ken Gilmer

# These are the variables that are queried in the UI.  The following lines are parsed by the install wizard.
# {|D|Install Directory|R|${HOME}/oe||}
# {|T|Init Script|R|reinstate-build-env||}

# System Check
which git
which svn
which python

# Directory Setup
[ -d ${Install Directory} ] || mkdir -p ${Install Directory}  
cd ${Install Directory}

# Installing from Bug Labs SVN repository
svn export -r HEAD svn://svn.buglabs.net/bug/tags/releases/R1.4/com.buglabs.build.oe
mv com.buglabs.build.oe/* .
rm -Rf com.buglabs.build.oe