mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
release.sh: preserve clean sbase before building
this way, the clean version can be placed inside the release tarball. there is a make clean option in sbase, but we should not really on this. the design of xbmk is that a clean src tarball is created. there must not be build artifications in it. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -76,6 +76,8 @@ prep_release()
|
||||
|
||||
prep_release_src()
|
||||
{
|
||||
x_ cp -R "util/sbase" "util/sbase2"
|
||||
|
||||
x_ ./mk -f
|
||||
|
||||
fx_ "x_ rm -Rf" x_ find . -name ".git"
|
||||
@@ -103,7 +105,8 @@ prep_release_tarball()
|
||||
err "can't create '$rsrc/CHANGELOG'" "prep_release_tarball" "$@"
|
||||
|
||||
x_ rm -f "$rsrc/lock" "$rsrc/cache"
|
||||
x_ rm -Rf "$rsrc/xbmkwd"
|
||||
x_ rm -Rf "$rsrc/xbmkwd" "$rsrc/util/sbase"
|
||||
x_ mv "$rsrc/util/sbase2" "$rsrc/util/sbase"
|
||||
|
||||
(
|
||||
x_ cd "${rsrc%/*}"
|
||||
|
||||
Reference in New Issue
Block a user