diff options
Diffstat (limited to 'include/serno.h.SH')
| -rw-r--r-- | include/serno.h.SH | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/serno.h.SH b/include/serno.h.SH index 50d19b7c..e3793c5d 100644 --- a/include/serno.h.SH +++ b/include/serno.h.SH @@ -2,7 +2,7 @@ set -eu -if [ -d .git ]; then +if [ -d ../.git ]; then revh=$(git rev-list -1 --no-commit-header --date=format:%Y%m%d --format=%cd-%h HEAD 2>/dev/null || true) datecode=$(git rev-list -1 --no-commit-header --format=%ct HEAD 2>/dev/null || true) if [ -n "$revh" ] && [ -n "$datecode" ]; then |
