Skip to content

Error "Path to token file must not be empty" #4

@jonas-aaron

Description

@jonas-aaron

I would be helpful if you could help me solve this problem.

MacOS Ventura 13.0.1

git commit Adding Timestamp commit. This may take a moment... .git/hooks/timestamping: line 194: local: -n: invalid option local: usage: local name[=value] ... .git/hooks/timestamping: line 195: local: -n: invalid option local: usage: local name[=value] ... .git/hooks/timestamping: line 196: local: -n: invalid option local: usage: local name[=value] ... awk: syntax error at source line 1 context is $0~trailerregex{ i++; insidetimestamp=1; print substr($0,urlstart) > tmpdir >>> i <<< ".extracted_token.url" } /-----END/{insidepem=0; insidetimestamp=0} insidepem{print substr($0,2) > tmpdir i ".extracted_token.pem"} insidetimestamp && /-----BEGIN/{insidepem=1} END {print i} awk: illegal statement at source line 1 .git/hooks/timestamping: line 303: local: -n: invalid option local: usage: local name[=value] ... Assertion failed: Precondition: Path to token file must not be empty. Backtrace: [1]: .git/hooks/timestamping : get_token_digest line 307 [2]: .git/hooks/post-commit : retrieve_crl_for_most_recent_parent_timestamps line 123 [3]: .git/hooks/post-commit : main line 151 Aborting commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions