Changes in / [6cc8775:0929ec5]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
git-version.sh
r6cc8775 r0929ec5 1 1 #!/bin/sh 2 2 3 if ! git status > /dev/null; then3 if ! git status; 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.