mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
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>
This commit is contained in:
+3
-2
@@ -59,8 +59,9 @@ prep_release_src()
|
|||||||
|
|
||||||
nuke()
|
nuke()
|
||||||
{
|
{
|
||||||
r="$relsrc/src/${1#config/}"; [ -d "${r%/*}" ] && x_ cd "${r%/*}" && \
|
r="$relsrc/src/${1#config/}"
|
||||||
dx_ "eval [ -L \"\$fx\" ] || x_ rm -Rf" "$relsrc/$1"; :
|
[ -d "${r%/*}" ] && x_ cd "${r%/*}" && \
|
||||||
|
dx_ "eval [ -L \"\$fx\" ] || x_ rm -Rf" "$relsrc/$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
prep_release_tarball()
|
prep_release_tarball()
|
||||||
|
|||||||
Reference in New Issue
Block a user