UBUNTU: [Packaging] update helper scripts

BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
Andrea Righi
2023-09-06 15:43:14 +02:00
committed by Paolo Pisati
parent 4a4fd87423
commit 5dc1f73659
+2 -2
View File
@@ -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 | \