File: build.sh

package info (click to toggle)
trac-graphviz 0.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 172 kB
  • ctags: 62
  • sloc: python: 440; makefile: 38; sh: 13
file content (21 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh

echo $PATH

ENV=/opt/trac/py25/env0.11
PORT=9011

export PATH=$ENV/bin:$PATH_RESET

echo "cleaning out old build"
rm -rf build dist
python setup.py bdist_egg

echo "cleaning out old installation"
rm -f $ENV/trac/plugins/graphviz-*.egg
rm -f $ENV/trac/htdocs/graphviz/*

echo "running tracd on port $PORT"
cp dist/graphviz-*.egg $ENV/trac/plugins/
#LD_LIBRARY_PATH=$ENV/lib tracd --port $PORT -b 172.16.6.1 $ENV/trac
LD_LIBRARY_PATH=$ENV/lib tracd --port $PORT $ENV/trac