summary refs log tree commit diff
path: root/tests/common.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-04-25 10:45:53 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-04-25 10:45:53 +0000
commit03162f8f477fb7634edbf53ad4e9dfca433dd9d9 (patch)
tree88aaf58b6111f8a0cb8422c97697605e1f3dc4de /tests/common.sh.in
parentef2d4a2da9c14c15985bdd27c02d2d30093a3e56 (diff)
downloadguix-03162f8f477fb7634edbf53ad4e9dfca433dd9d9.tar.gz
* Unless --with-bzip2 is specified, use a copy of bzip2 in the
  externals directory.  This is in particular useful because though
  most systems have bzip2/bunzip2, they don't always have libbz2,
  which we need for bsdiff/bspatch.

Diffstat (limited to 'tests/common.sh.in')
-rw-r--r--tests/common.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index 0f55d6cf89..07250ad6ed 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -24,6 +24,10 @@ export NIX_BUILD_HOOK=
 export PERL=perl
 export TOP=$(pwd)/..
 export aterm_bin=@aterm_bin@
+export bzip2_bin_test="@bzip2_bin_test@"
+if test "${bzip2_bin_test:0:1}" != "/"; then
+    bzip2_bin_test=`pwd`/${bzip2_bin_test}
+fi
 export dot=@dot@
 export xmllint="@xmllint@"
 export xmlflags="@xmlflags@"