From: teor Date: Mon, 28 Oct 2019 03:04:29 +0000 (+1000) Subject: scripts/git: Fix a shellcheck error in pre-commit.git-hook X-Git-Tag: tor-0.4.3.1-alpha~242 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68befa3b84080fcbf4face0fa39afedae9f3223d;p=thirdparty%2Ftor.git scripts/git: Fix a shellcheck error in pre-commit.git-hook Some versions of shellcheck do not detect this error. Bugfix on 31919; not in any released version of tor. --- diff --git a/scripts/git/pre-commit.git-hook b/scripts/git/pre-commit.git-hook index 2e476c310e..c138d2ae21 100755 --- a/scripts/git/pre-commit.git-hook +++ b/scripts/git/pre-commit.git-hook @@ -61,7 +61,7 @@ fi ## Owned Source File Checks -printf "Modified tor-owned source files:\n%s\n" "$CHECK_FILES" +printf "Modified tor-owned source files:\\n%s\\n" "$CHECK_FILES" # We want word splitting here, because file names are space separated # shellcheck disable=SC2086