about summary refs log tree commit diff
path: root/test/register
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-03-21T14·10+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-03-21T14·10+0000
commite582ee67cd682c13667daccf33e8071189ef946c (patch)
treedda9e5e2843aef37a345157e4f4afcf1cf155d08 /test/register
parent88d257b17f0f668798568d68e2d2063f31fe8a2f (diff)
* Fetch sources from the network.
Diffstat (limited to 'test/register')
-rwxr-xr-xtest/register17
1 files changed, 11 insertions, 6 deletions
diff --git a/test/register b/test/register
index a50dd051a83f..60cabd292365 100755
--- a/test/register
+++ b/test/register
@@ -1,17 +1,22 @@
 #! /bin/sh
 
-nix init
-
 root=/home/eelco/Dev/nix/test
+cd $root
 
-cd $root/tmpl
+mkdir -p db
+mkdir -p pkg
+mkdir -p descr
+mkdir -p netcache
+
+nix init
 
-if ! nix-instantiate $root/descr $root/tmpl/*.nix; then
+if ! nix-instantiate descr netcache tmpl/*.nix; then
     exit 1;
 fi
 
-for i in $root/dist/*; do nix regfile $i; done
-for i in $root/descr/*; do 
+for i in netcache/*; do nix regfile $i; done
+for i in build/*; do nix regfile $i; done
+for i in descr/*; do 
     md5sum $i
     nix regfile $i
 done