HOME is not consistent if dokku is ran e.g. as root (for setup). The DOKKU_ROOT variable will also make it possible to have the repositories stored in an arbitrary location (works-ish right now)
4 lines
69 B
Bash
Executable File
4 lines
69 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
[[ -n $1 ]] && rm -r "$DOKKU_ROOT/$1" > /dev/null
|