summaryrefslogtreecommitdiffstats
path: root/git-version-gen
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-04-30 14:12:56 +0200
committerGravatar Nikias Bassen2023-04-30 14:12:56 +0200
commit77f32a11de971047919fedb6af7bcd05301cbf83 (patch)
treea42016bc19430e6cd566bdb0332ae2c582032eec /git-version-gen
parent4e14ae142f998bfdcad71f3099c0e4aa3628354c (diff)
downloadlibusbmuxd-77f32a11de971047919fedb6af7bcd05301cbf83.tar.gz
libusbmuxd-77f32a11de971047919fedb6af7bcd05301cbf83.tar.bz2
git-version-gen: Prevent multiple lines of output
Diffstat (limited to 'git-version-gen')
-rwxr-xr-xgit-version-gen1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-version-gen b/git-version-gen
index f6cb31c..d868952 100755
--- a/git-version-gen
+++ b/git-version-gen
@@ -16,4 +16,5 @@ else
fi
fi
fi
+VER=`printf %s "$VER" | head -n1`
printf %s "$VER"