Better fix

This commit is contained in:
Eelco Dolstra 2012-03-12 21:06:42 +01:00
parent 259afadbab
commit 3f1bbf7ef4

View file

@ -1,5 +1,3 @@
perl5lib = "$(srcdir):$(top_srcdir)/src/lib:$$PERL5LIB"
TESTS_ENVIRONMENT = \ TESTS_ENVIRONMENT = \
BZR_HOME="$(abs_builddir)/data" \ BZR_HOME="$(abs_builddir)/data" \
HYDRA_DBI="dbi:SQLite:db.sqlite" \ HYDRA_DBI="dbi:SQLite:db.sqlite" \
@ -12,7 +10,7 @@ TESTS_ENVIRONMENT = \
NIX_STORE_DIR="$(abs_builddir)/nix/store" \ NIX_STORE_DIR="$(abs_builddir)/nix/store" \
NIX_LOG_DIR="$(abs_builddir)/nix/var/log/nix" \ NIX_LOG_DIR="$(abs_builddir)/nix/var/log/nix" \
NIX_BUILD_HOOK= \ NIX_BUILD_HOOK= \
PERL5LIB=$(perl5lib) \ PERL5LIB="$(srcdir):$(top_srcdir)/src/lib:$$PERL5LIB" \
PATH=$(abs_top_srcdir)/src/script:$(abs_top_srcdir)/src/c:$$PATH \ PATH=$(abs_top_srcdir)/src/script:$(abs_top_srcdir)/src/c:$$PATH \
perl -w perl -w
@ -33,7 +31,7 @@ clean :
check_SCRIPTS = db.sqlite repos check_SCRIPTS = db.sqlite repos
db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql
PERL5LIB=$(perl5lib) perl $(top_srcdir)/src/script/hydra-init $(TESTS_ENVIRONMENT) $(top_srcdir)/src/script/hydra-init
repos : 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