Changeset 6cc8775 for git-version.sh


Ignore:
Timestamp:
04/07/2021 10:25:14 AM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
ml-11.0, multilib
Children:
c74edb3
Parents:
0929ec5 (diff), 8186f16 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' into multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • git-version.sh

    r0929ec5 r6cc8775  
    11#!/bin/sh
    22
    3 if ! git status; then
     3if ! git status > /dev/null; then
    44        # Either it's not a git repository, or git is unavaliable.
    55        # Just workaround.
     
    2020month=$(date --date "$commit_date" "+%B")
    2121month_digit=$(date --date "$commit_date" "+%m")
    22 day=$(date --date "$commit_date" "+%d" | sed 's@^0@@')
     22day=$(date --date "$commit_date" "+%d" | sed 's/^0//')
    2323
    2424case $day in
Note: See TracChangeset for help on using the changeset viewer.