mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
init.sh: explicitly create cache/
otherwise, an error occurs when doing ./mk release Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-5
@@ -64,9 +64,6 @@ prep_release()
|
||||
(
|
||||
if [ "$1" != "tarball" ]; then
|
||||
x_ cd "$rsrc"
|
||||
if [ ! -e "cache" ]; then
|
||||
x_ ln -s "$XBMK_CACHE" "cache"
|
||||
fi
|
||||
fi
|
||||
|
||||
prep_release_$1
|
||||
@@ -104,8 +101,8 @@ prep_release_tarball()
|
||||
--abbrev-commit > "$rsrc/CHANGELOG" || \
|
||||
err "can't create '$rsrc/CHANGELOG'" "prep_release_tarball" "$@"
|
||||
|
||||
x_ rm -f "$rsrc/lock" "$rsrc/cache"
|
||||
x_ rm -Rf "$rsrc/xbmkwd" "$rsrc/util/sbase"
|
||||
x_ rm -f "$rsrc/lock"
|
||||
x_ rm -Rf "$rsrc/xbmkwd" "$rsrc/util/sbase" "$rsrc/cache"
|
||||
x_ mv "$rsrc/util/sbase2" "$rsrc/util/sbase"
|
||||
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user