Skip to content

Commit b4cd19c

Browse files
committed
adding mkdir -p so cache is created
1 parent 770049c commit b4cd19c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

_posts/linux/2018-06-03-unrar-python.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,11 @@ If you are extracting on a shared resource, make sure to export your `SINGULARIT
227227
pulling to `$HOME` can fill up the quota almost immediately `#fatcontainers`.
228228

229229
```bash
230-
export SINGULARITY_CACHEDIR=$SCRATCH/.singularity
230+
231+
export SINGULARITY_CACHEDIR=$SCRATCH/.singularity
232+
mkdir -p ${SINGULARITY_CACHEDIR}
231233
$ singularity pull --name rar.simg shub://singularityhub/rar
234+
232235
```
233236

234237
You can always ask the container for help before blindly running it.

0 commit comments

Comments
 (0)