summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-04-28 18:35:33 +0200
committerGravatar Nikias Bassen2023-04-28 18:35:33 +0200
commit884cfda633e8f53bb1be50e61c9a9814f5a0e77a (patch)
treeb5858537fc953e89d823173e33d6c0d187979570
parent114098d30e783fbb3def5c9b49427a86621cfcb1 (diff)
downloadlibimobiledevice-glue-884cfda633e8f53bb1be50e61c9a9814f5a0e77a.tar.gz
libimobiledevice-glue-884cfda633e8f53bb1be50e61c9a9814f5a0e77a.tar.bz2
git-version-gen: Prevent multiple lines of output
-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"