about summary refs log tree commit diff
path: root/tests/nix-push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nix-push.sh')
-rw-r--r--tests/nix-push.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nix-push.sh b/tests/nix-push.sh
index a9a2f5f9c06a..0a35e3b97ab7 100644
--- a/tests/nix-push.sh
+++ b/tests/nix-push.sh
@@ -5,7 +5,7 @@ outPath=$($nixstore -r $drvPath)
 
 echo "pushing $drvPath"
 
-mkdir $TEST_ROOT/cache
+mkdir -p $TEST_ROOT/cache
 
 $NIX_BIN_DIR/nix-push \
     --copy $TEST_ROOT/cache $TEST_ROOT/manifest $drvPath