aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <getchoo@tuta.io>2022-12-22 19:25:04 -0500
committerseth <getchoo@tuta.io>2022-12-22 19:25:04 -0500
commit01139c3b50eeb30787e87aeea37948b672763c73 (patch)
tree81a7083edf2f75ba7a15daacfb9c7e5c3e6d8ed3
parentbf2ce54076497cc9f89bdd92c4e2c5455217a18d (diff)
downloadPrismLauncher-01139c3b50eeb30787e87aeea37948b672763c73.tar.gz
PrismLauncher-01139c3b50eeb30787e87aeea37948b672763c73.tar.bz2
PrismLauncher-01139c3b50eeb30787e87aeea37948b672763c73.zip
fix: assume builds are stable when git isn't installed
Signed-off-by: seth <getchoo@tuta.io>
-rw-r--r--buildconfig/BuildConfig.cpp.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildconfig/BuildConfig.cpp.in b/buildconfig/BuildConfig.cpp.in
index 1262ce8e..02c021cf 100644
--- a/buildconfig/BuildConfig.cpp.in
+++ b/buildconfig/BuildConfig.cpp.in
@@ -76,7 +76,8 @@ Config::Config()
// Assume that builds outside of Git repos are "stable"
if (GIT_REFSPEC == QStringLiteral("GITDIR-NOTFOUND")
- || GIT_TAG == QStringLiteral("GITDIR-NOTFOUND"))
+ || GIT_TAG == QStringLiteral("GITDIR-NOTFOUND")
+ || GIT_TAG == QStringLiteral("GIT-NOTFOUND"))
{
GIT_REFSPEC = "refs/heads/stable";
GIT_TAG = versionString();