summaryrefslogtreecommitdiff
path: root/tests/missing-ref.script
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-12-01 13:13:02 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-12-01 13:13:02 +0000
commit159c90e1e485f9fe9c3ad8093ed70e5b99ca63ac (patch)
tree2a35589c79ac15eaf54d37619a78cbfccdd27ba9 /tests/missing-ref.script
parent71aa6dc4b72374aa84b4c1bb4067a2b7841e4322 (diff)
downloadmorph-159c90e1e485f9fe9c3ad8093ed70e5b99ca63ac.tar.gz
create cachedir at startup if it does not exist
We don't create it if running as root, since that would mean a typo creates a directory in a place that may be awkward. Anyone running builds as root can go create the directory themselves.
Diffstat (limited to 'tests/missing-ref.script')
-rwxr-xr-xtests/missing-ref.script2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/missing-ref.script b/tests/missing-ref.script
index 1a5dabca..3d5ebc98 100755
--- a/tests/missing-ref.script
+++ b/tests/missing-ref.script
@@ -20,9 +20,7 @@
set -e
cache="$DATADIR/build-chunk-cache"
-mkdir "$cache"
./morph --no-default-configs build repo non-existent-branch hello.morph \
--git-base-url="file://$DATADIR" \
--cachedir="$cache" --keep-path
-rm -rf "$cache"