summaryrefslogtreecommitdiff
path: root/libs/tdlib/td/gen_git_commit_h.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libs/tdlib/td/gen_git_commit_h.sh')
-rw-r--r--libs/tdlib/td/gen_git_commit_h.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/tdlib/td/gen_git_commit_h.sh b/libs/tdlib/td/gen_git_commit_h.sh
deleted file mode 100644
index b3416b2983..0000000000
--- a/libs/tdlib/td/gen_git_commit_h.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-commit=$(git rev-parse HEAD)
-git diff-index --quiet HEAD
-dirty=$?
-printf "#pragma once\n#define GIT_COMMIT \"$commit\"\n#define GIT_DIRTY $dirty\n" > auto/git_info.h.new
-if cmp -s auto/git_info.h.new auto/git_info.h 2>&1 > /dev/null
-then
- rm -f auto/git_info.h.new
-else
- mv -f auto/git_info.h.new auto/git_info.h
-fi