summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rwxr-xr-xget-version2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index e6ab78fd8..daea4196f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ dpkg (1.19.3) UNRELEASED; urgency=medium
* Code internals:
- dpkg-maintscript-helper: Use an explicit escape instead of a literal
backslash.
+ * Build system:
+ - get-version: Use a format string with printf.
[ Updated programs translations ]
* German (Sven Joachim).
diff --git a/get-version b/get-version
index 6bfdcb1ad..3bc3c1bc0 100755
--- a/get-version
+++ b/get-version
@@ -38,4 +38,4 @@ else
fi
# Use printf to avoid the trailing new line that m4_esyscmd would not handle.
-printf "$version"
+printf "%s" "$version"