termux_git_clone_src: Exclude epoch from default branch

This commit is contained in:
Tee KOBAYASHI 2023-01-17 08:55:39 +09:00 committed by xtkoba
parent 07b6379b8a
commit 1a47737645
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ termux_git_clone_src() {
if [ ! -f $TMP_CHECKOUT_VERSION ] || [ "$(cat $TMP_CHECKOUT_VERSION)" != "$TERMUX_PKG_VERSION" ]; then
if [ "$TERMUX_PKG_GIT_BRANCH" == "" ]; then
TERMUX_PKG_GIT_BRANCH=v$TERMUX_PKG_VERSION
TERMUX_PKG_GIT_BRANCH=v${TERMUX_PKG_VERSION#*:}
fi
rm -rf $TMP_CHECKOUT