Changes in / [0929ec5:6cc8775]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
git-version.sh
r0929ec5 r6cc8775 1 1 #!/bin/sh 2 2 3 if ! git status ; then3 if ! git status > /dev/null; then 4 4 # Either it's not a git repository, or git is unavaliable. 5 5 # Just workaround. … … 20 20 month=$(date --date "$commit_date" "+%B") 21 21 month_digit=$(date --date "$commit_date" "+%m") 22 day=$(date --date "$commit_date" "+%d" | sed 's @^0@@')22 day=$(date --date "$commit_date" "+%d" | sed 's/^0//') 23 23 24 24 case $day in
Note:
See TracChangeset
for help on using the changeset viewer.