From 68b5f00930132c12c98705e7728765171142d2ef Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Sun, 1 Oct 2017 16:52:55 +0200 Subject: fixup! Convert flashrom to git - wrap a line in the hook installer. The line still exceeds our maximum limit by two chars but it makes no sense to break apart the one long argument IMHO Change-Id: I0e931fbb5902d2714d5399c1d1bfac0de35523bb Signed-off-by: Stefan Tauner Reviewed-on: https://review.coreboot.org/21831 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- util/git-hooks/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/git-hooks/install.sh b/util/git-hooks/install.sh index bc90e3790..d557c2f8a 100755 --- a/util/git-hooks/install.sh +++ b/util/git-hooks/install.sh @@ -14,6 +14,7 @@ for h in $hooks; do if [ -e "${dst}$h" ]; then mv "${dst}$h" "${dst}$h.local" fi - ln -s "$(git rev-parse --prefix $(git rev-parse --git-path hooks/) --show-cdup)${src}wrapper.sh" "${dst}$h" + ln -s "$(git rev-parse --prefix $(git rev-parse --git-path hooks/) --show-cdup)${src}wrapper.sh" \ + "${dst}$h" fi done -- cgit v1.2.3