Last change
on this file since 534 was 320, checked in by bcornec, 19 years ago |
merge -r316:319 $SVN_M/branches/2.06
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Id
|
File size:
566 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # Creates deb environment from SVN repository
|
---|
4 | #
|
---|
5 | # $Id: deb-env 320 2006-01-14 23:29:12Z 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 | # TBD
|
---|
22 | export TOPDIR=${BASE}/debs
|
---|
23 | mkdir -p ${TOPDIR}
|
---|
24 |
|
---|
25 | if [ -e /etc/debian-release ]; then
|
---|
26 | export ddir="debian"
|
---|
27 | export dver=`awk '{print $4}' /etc/debian-release`
|
---|
28 | export suf=".`echo $dver | sed 's/\.//'`mdk"
|
---|
29 | fi
|
---|
30 |
|
---|
31 | if [ _"$suf" = _"" ]; then
|
---|
32 | export suf=".${ddir}${dver}"
|
---|
33 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.