mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +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:
+4
-1
@@ -76,6 +76,8 @@ prep_release()
|
|||||||
|
|
||||||
prep_release_src()
|
prep_release_src()
|
||||||
{
|
{
|
||||||
|
x_ cp -R "util/sbase" "util/sbase2"
|
||||||
|
|
||||||
x_ ./mk -f
|
x_ ./mk -f
|
||||||
|
|
||||||
fx_ "x_ rm -Rf" x_ find . -name ".git"
|
fx_ "x_ rm -Rf" x_ find . -name ".git"
|
||||||
@@ -103,7 +105,8 @@ prep_release_tarball()
|
|||||||
err "can't create '$rsrc/CHANGELOG'" "prep_release_tarball" "$@"
|
err "can't create '$rsrc/CHANGELOG'" "prep_release_tarball" "$@"
|
||||||
|
|
||||||
x_ rm -f "$rsrc/lock" "$rsrc/cache"
|
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%/*}"
|
x_ cd "${rsrc%/*}"
|
||||||
|
|||||||
Reference in New Issue
Block a user