diff options
author | regnat <rg@regnat.ovh> | 2021-05-04 10:35:34 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-05-04 10:35:34 +0200 |
commit | dadfbce318c53ae0c53121deab6ab7e07c396164 (patch) | |
tree | 13070336fa1347067f9d667b9d5667853ce99ace /src/libstore/local-binary-cache-store.cc | |
parent | ef13c9c2236f06a6bd41a19d28a7feff3aae7dc8 (diff) |
Fix the double-slash in the realisations path
Make sure that we always access the realisations under
`binaryCacheUrl/realisations` and not `binaryCacheUrl//realisations`
Fix #4766
Diffstat (limited to 'src/libstore/local-binary-cache-store.cc')
-rw-r--r-- | src/libstore/local-binary-cache-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-binary-cache-store.cc b/src/libstore/local-binary-cache-store.cc index 964c4017e..f93111fce 100644 --- a/src/libstore/local-binary-cache-store.cc +++ b/src/libstore/local-binary-cache-store.cc @@ -93,7 +93,7 @@ protected: void LocalBinaryCacheStore::init() { createDirs(binaryCacheDir + "/nar"); - createDirs(binaryCacheDir + realisationsPrefix); + createDirs(binaryCacheDir + "/" + realisationsPrefix); if (writeDebugInfo) createDirs(binaryCacheDir + "/debuginfo"); BinaryCacheStore::init(); |