diff options
author | Julien Dessaux | 2022-09-06 19:55:22 +0200 |
---|---|---|
committer | Julien Dessaux | 2022-09-06 19:59:31 +0200 |
commit | 79b46e27d6dd054aac8c281ac6897a65d9549f9e (patch) | |
tree | ffffada84e187b921f7d518060893e76110e5472 /common/clean.sh | |
parent | Factorised ev-scripts-deploy in a generic git clone && make run (diff) | |
download | ev-scripts-79b46e27d6dd054aac8c281ac6897a65d9549f9e.tar.gz ev-scripts-79b46e27d6dd054aac8c281ac6897a65d9549f9e.tar.bz2 ev-scripts-79b46e27d6dd054aac8c281ac6897a65d9549f9e.zip |
Split the deploy script in distinct tasks
Diffstat (limited to '')
-rw-r--r-- | common/clean.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/clean.sh b/common/clean.sh new file mode 100644 index 0000000..40ec605 --- /dev/null +++ b/common/clean.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Input environment: +# - NAME: a name for the script/tasks + +rm -rf "/tmp/${NAME}" |