]> granicus.if.org Git - strace/blobdiff - copyright-year-gen
Remove linux/ptp_clock.h
[strace] / copyright-year-gen
index 5a2110e44b8fbba5ae3fd2768fb7672bcaeea49f..9d55acd672f56ff2a37d195f9b6b4c6414496180 100755 (executable)
@@ -13,7 +13,7 @@ year=
 [ -f "${YEAR_FILE}" ] && year="$(cat "${YEAR_FILE}")"
 
 [ -n "${year}" ] ||
-       year="$(git show --format=format:%cd --no-patch --date=format:%Y)"
+       year="$(date +%Y -d "$(git show --format=format:%cD --no-patch)")"
 
 [ -n "${year}" ] || year="${DEFAULT_YEAR}"