Last change
on this file since 535 was 530, checked in by bcornec, 18 years ago |
Build process reviewed once more :
gentoo integration
slackware integration
mkqemu should only work with tar files, and not SVN (ease VM build and time in build process)
To be continued
DOES NOT WORK AT THE MOMENT
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Id
|
File size:
632 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # Creates deb environment from SVN repository
|
---|
4 | #
|
---|
5 | # $Id: deb-env 530 2006-05-08 15:31:14Z bcornec $
|
---|
6 | #
|
---|
7 |
|
---|
8 | dname=`dirname $0`
|
---|
9 | prem=`echo $dname |cut -c1`
|
---|
10 | if [ ${prem} == "/" ]; then
|
---|
11 | export TOOLHOME=$dname
|
---|
12 | else
|
---|
13 | export TOOLHOME=${PWD}/$dname
|
---|
14 | fi
|
---|
15 |
|
---|
16 | . $TOOLHOME/common-env
|
---|
17 |
|
---|
18 | # Should not be modified below
|
---|
19 | dname=`dirname $0`
|
---|
20 |
|
---|
21 |
|
---|
22 | # TBD
|
---|
23 | export TOPDIR=${BASE}/debs
|
---|
24 | mkdir -p ${TOPDIR}
|
---|
25 | export opt=""
|
---|
26 | export pkg=""
|
---|
27 | export ARCH=""
|
---|
28 |
|
---|
29 | if [ -e /etc/debian-release ]; then
|
---|
30 | export dfam="debian"
|
---|
31 | export ddir="debian"
|
---|
32 | export dver=`awk '{print $4}' /etc/debian-release`
|
---|
33 | export suf=".`echo $dver | sed 's/\.//'`mdk"
|
---|
34 | fi
|
---|
35 |
|
---|
36 | if [ _"$suf" = _"" ]; then
|
---|
37 | export suf=".${ddir}${dver}"
|
---|
38 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.