commit:     456173c3212e5bcac176f17119b4c7763697f405
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Mon Jul 17 18:12:58 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 20 20:43:53 2024 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=456173c3

tools/catalyst-auto: Remove treeish sed

Removes line which allowed catalyst-auto to convert to snapshot_treeish
on the fly as it's no longer needed.

Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 tools/catalyst-auto | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/catalyst-auto b/tools/catalyst-auto
index 28a92611..dac4deb5 100755
--- a/tools/catalyst-auto
+++ b/tools/catalyst-auto
@@ -436,10 +436,6 @@ run_catalyst_commands() {
                        done
                fi
 
-               if [[ -n ${TREEISH} ]]; then
-                       sed -i -e "s|snapshot:.*|snapshot_treeish: 
${TREEISH}|g" "${i}"
-               fi
-
                # Expand vars that the spec expects us to.
                sed -i \
                        -e "s:@TIMESTAMP@:${TIMESTAMP}:g" \

Reply via email to