mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
release.sh: use printf to create version files
Don't copy the files directly, because we might be doing this from a work directory that has no files; in this case, generic "unknown" variables are used, without generating any files, so the current logic would produce an error. However, we do need to create those dot files, because we then rely on them for building release binaries. The new logic maintains current behaviour, while fixing this technical edge-case scenario via mitigation. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-2
@@ -27,8 +27,7 @@ release()
|
||||
|
||||
remkdir "$vdir"
|
||||
x_ git clone . "$rsrc"
|
||||
x_ cp ".version" "$rsrc/.version"
|
||||
x_ cp ".versiondate" "$rsrc/.versiondate"
|
||||
update_xbmkver "$rsrc"
|
||||
|
||||
prep_release src
|
||||
prep_release tarball
|
||||
|
||||
Reference in New Issue
Block a user