about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-04-02T15·34+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-04-02T15·34+0000
commit5bc26fb73fe997b05c2e43593d17de102c4249b7 (patch)
tree3de827312edb1fbcf394abe1f067b07717bf3215 /test
parent383f9bb0f19f76fa4cdbdfb5327d82e77212c1b6 (diff)
* Importing and exporting of pre-built packages.
Diffstat (limited to 'test')
-rwxr-xr-xtest/build/aterm-build.sh2
-rwxr-xr-xtest/register18
2 files changed, 9 insertions, 11 deletions
diff --git a/test/build/aterm-build.sh b/test/build/aterm-build.sh
index cfc83806b35b..f8cca71aa0bb 100755
--- a/test/build/aterm-build.sh
+++ b/test/build/aterm-build.sh
@@ -8,3 +8,5 @@ cd aterm-*
 ./configure --prefix=$top
 make
 make install
+cd ..
+rm -rf aterm-*
diff --git a/test/register b/test/register
index 60cabd292365..e03296495a92 100755
--- a/test/register
+++ b/test/register
@@ -1,23 +1,19 @@
 #! /bin/sh
 
-root=/home/eelco/Dev/nix/test
-cd $root
-
-mkdir -p db
-mkdir -p pkg
-mkdir -p descr
-mkdir -p netcache
+mkdir -p $NIX/db
+mkdir -p $NIX/pkg
+mkdir -p $NIX/descr
+mkdir -p $NIX/netcache
 
 nix init
 
-if ! nix-instantiate descr netcache tmpl/*.nix; then
+if ! nix-instantiate $NIX/descr $NIX/netcache tmpl/*.nix; then
     exit 1;
 fi
 
-for i in netcache/*; do nix regfile $i; done
+for i in $NIX/netcache/*; do nix regfile $i; done
 for i in build/*; do nix regfile $i; done
-for i in descr/*; do 
+for i in $NIX/descr/*; do 
     md5sum $i
     nix regfile $i
 done
-