diff options
author | aunsane <aunsane@gmail.com> | 2018-04-27 21:33:17 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-04-27 21:33:17 +0300 |
commit | e1ec72eab6d00b3ba38e5932bc88920f103b6e4a (patch) | |
tree | 999de2725a83e30fbbf6576200525d4ef0c5fe38 /libs/tdlib/td/gen_git_commit_h.sh | |
parent | b9ce1d4d98525490ca1a38e2d9fd4f3369adb3e0 (diff) |
Telegram: initial commit
- tdlib moved to telegram dir
Diffstat (limited to 'libs/tdlib/td/gen_git_commit_h.sh')
-rw-r--r-- | libs/tdlib/td/gen_git_commit_h.sh | 11 |
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 |