summaryrefslogtreecommitdiff
path: root/include/release.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-18 10:33:23 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-18 10:33:23 +0100
commit44df3b2bff864e7eb42e370d7ac9182799a59fdf (patch)
tree1584e48f518bbd0c1849448e88a1989dcf5aba68 /include/release.sh
parent3c58181f69ee28c954a8844613dee9d4d576ea2c (diff)
release.sh: tidy up nuke()
i wasn't ok having that variable initialisation and then the commands on the same line. it looks messy. having the commands on a separate line makes the code nice to read, so let's separate them. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/release.sh')
-rw-r--r--include/release.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/release.sh b/include/release.sh
index de8551d6..77281009 100644
--- a/include/release.sh
+++ b/include/release.sh
@@ -59,8 +59,9 @@ prep_release_src()
nuke()
{
- r="$relsrc/src/${1#config/}"; [ -d "${r%/*}" ] && x_ cd "${r%/*}" && \
- dx_ "eval [ -L \"\$fx\" ] || x_ rm -Rf" "$relsrc/$1"; :
+ r="$relsrc/src/${1#config/}"
+ [ -d "${r%/*}" ] && x_ cd "${r%/*}" && \
+ dx_ "eval [ -L \"\$fx\" ] || x_ rm -Rf" "$relsrc/$1"
}
prep_release_tarball()