commit:     f1c2b6d186ec30fb3c634875e1d7eafc2f63f044
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 14 12:06:36 2024 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 12:06:36 2024 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=f1c2b6d1

tools/catalyst-auto: replace DATESTAMP in specs as well

We started using this variable in specs but it's not in the sed list
yet.

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 tools/catalyst-auto | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index d1a72d91..cc532c3d 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -440,6 +440,7 @@ run_catalyst_commands() {
                # Expand vars that the spec expects us to.
                sed -i \
                        -e "s:@TIMESTAMP@:${TIMESTAMP}:g" \
+                       -e "s:@DATESTAMP@:${DATESTAMP}:g"
                        -e "s:@REPO_DIR@:${REPO_DIR}:g" \
                        -e "s:@TREEISH@:${TREEISH}:g" \
                        "${i}"

Reply via email to