Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • git-version.sh

    r6b505da r8186f16  
    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.