From 5dc1f73659e8fd24a0dac376ff0bcd106b0aee67 Mon Sep 17 00:00:00 2001 From: Andrea Righi Date: Wed, 6 Sep 2023 15:43:14 +0200 Subject: [PATCH] UBUNTU: [Packaging] update helper scripts BugLink: https://bugs.launchpad.net/bugs/1786013 Signed-off-by: Andrea Righi --- debian/scripts/helpers/open | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/scripts/helpers/open b/debian/scripts/helpers/open index bf58b85e62ab..797d778d29d1 100755 --- a/debian/scripts/helpers/open +++ b/debian/scripts/helpers/open @@ -192,8 +192,8 @@ if [ -d "$DEBIAN/abi" ]; then if [ -f "$DEBIAN/abi/version" ]; then # This is an unversioned ABI directory, so simply update the # version file - echo "$new" > "$DEBIAN/abi/version" - git add "$DEBIAN/abi/version" + echo "$new" | run tee "$DEBIAN/abi/version" >/dev/null + run git add "$DEBIAN/abi/version" else # Get the old ABI directory: old=$(find "$DEBIAN/abi/" -mindepth 1 -maxdepth 1 -type d | \