about summary refs log tree commit diff
path: root/dev-shell
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-19T11·22+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-21T10·53+0200
commit25a108bb9c5eb1999e1699d4e0727de1cbce30c7 (patch)
tree2c113458f114df1ba0a7e6cb6b4fd3f16b7f6912 /dev-shell
parentd308aeaf53b7324af98dfa949a747526c241ef30 (diff)
Hack to clean up tests/test-tmp
Diffstat (limited to 'dev-shell')
-rwxr-xr-xdev-shell5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-shell b/dev-shell
index 8579939a7b..a4fdc6814b 100755
--- a/dev-shell
+++ b/dev-shell
@@ -1,4 +1,9 @@
 #! /bin/sh
+if [ -e tests/test-tmp ]; then
+    chmod -R u+w tests/test-tmp
+    rm -rf tests/test-tmp
+fi
+
 s=$(type -p nix-shell)
 exec $s release.nix -A tarball --command "
     export NIX_REMOTE=daemon