about summary refs log tree commit diff
path: root/tests/user-envs.builder.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-02-08T14·32+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-02-08T14·32+0000
commite771e59178f42fd1c6005c8a35f2ecfebf0e4ce4 (patch)
tree228be7a69d5f903cbd48e60b864d76fe9caef31b /tests/user-envs.builder.sh
parent39f50db731bb1924d3c18b153dfe4258208b8812 (diff)
* Tests for nix-env, finally!
Diffstat (limited to 'tests/user-envs.builder.sh')
-rw-r--r--tests/user-envs.builder.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/user-envs.builder.sh b/tests/user-envs.builder.sh
new file mode 100644
index 000000000000..c84c045e4308
--- /dev/null
+++ b/tests/user-envs.builder.sh
@@ -0,0 +1,8 @@
+export PATH=/bin:/usr/bin:$PATH
+
+mkdir $out
+mkdir $out/bin
+echo "#! $shell" > $out/bin/$progName
+echo "echo $name" >> $out/bin/$progName
+chmod +x $out/bin/$progName
+