forked from lix-project/hydra
set BZR_HOME env var so bzr won't fail
This commit is contained in:
parent
4b599f4dfc
commit
ea4ae11353
1 changed files with 6 additions and 3 deletions
|
@ -29,7 +29,9 @@ $(TESTS) : db.sqlite dirs
|
||||||
db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql
|
db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql
|
||||||
sqlite3 db.sqlite < $(top_srcdir)/src/sql/hydra-sqlite.sql
|
sqlite3 db.sqlite < $(top_srcdir)/src/sql/hydra-sqlite.sql
|
||||||
|
|
||||||
dirs : git-repo hg-repo svn-repo svn-checkout-repo bzr-repo bzr-checkout-repo
|
repos : dirs git-repo hg-repo svn-repo svn-checkout-repo bzr-repo bzr-checkout-repo
|
||||||
|
|
||||||
|
dirs :
|
||||||
mkdir -p data
|
mkdir -p data
|
||||||
touch data/hydra.conf
|
touch data/hydra.conf
|
||||||
mkdir -p nix
|
mkdir -p nix
|
||||||
|
@ -55,13 +57,14 @@ svn-repo :
|
||||||
|
|
||||||
bzr-repo :
|
bzr-repo :
|
||||||
bzr init bzr-repo
|
bzr init bzr-repo
|
||||||
bzr whoami "build <build@donotemail.com>" -d bzr-repo
|
BZR_HOME=$(abs_builddir)/data bzr whoami "build <build@donotemail.com>" -d bzr-repo
|
||||||
touch bzr-repo/bzr-file
|
touch bzr-repo/bzr-file
|
||||||
bzr add bzr-repo/bzr-file
|
bzr add bzr-repo/bzr-file
|
||||||
bzr commit -m "add bzr-file" bzr-repo/bzr-file
|
BZR_HOME=$(abs_builddir)/data bzr commit -m "add bzr-file" bzr-repo/bzr-file
|
||||||
|
|
||||||
svn-checkout-repo :
|
svn-checkout-repo :
|
||||||
ln -s svn-repo svn-checkout-repo
|
ln -s svn-repo svn-checkout-repo
|
||||||
|
|
||||||
bzr-checkout-repo :
|
bzr-checkout-repo :
|
||||||
ln -s bzr-repo bzr-checkout-repo
|
ln -s bzr-repo bzr-checkout-repo
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue