summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2015-06-27 09:41:29 -0500
committerDoug Newgard2015-06-27 09:41:29 -0500
commita774cc9a6516c0607d4b4408c5cb3facc337b00c (patch)
tree90c46fcc5a1de82b38d15e13aa82787c77124694
parent4fa0a465ecc07094b43432027e8627522f89bfd6 (diff)
downloadaur-a774cc9a6516c0607d4b4408c5cb3facc337b00c.tar.gz
Use printf formatter, prevents theoretical parsing errors
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ffb4ed12c31..48c1b12050c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ pkgver() {
cd $_pkgname
local _ver=$(awk -F '=' '/Version/ {print $2}' archlinux/metadata.desktop)
- printf "$_ver.r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
+ printf '%s.r%s.g%s' "$_ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {