From 44df3b2bff864e7eb42e370d7ac9182799a59fdf Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 18 May 2025 10:33:23 +0100 Subject: 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 --- include/release.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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() -- cgit v1.2.1