summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@gmx.at>2017-10-01 16:52:55 +0200
committerNico Huber <nico.h@gmx.de>2017-10-05 10:45:08 +0000
commit68b5f00930132c12c98705e7728765171142d2ef (patch)
tree2adfd0c736509a4ab2974f011dd16f379fbe8098 /util
parentfa25bc3cd433e2cdbf8d0922a29be71815a072cd (diff)
downloadflashrom-68b5f00930132c12c98705e7728765171142d2ef.tar.gz
flashrom-68b5f00930132c12c98705e7728765171142d2ef.tar.bz2
flashrom-68b5f00930132c12c98705e7728765171142d2ef.zip
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 <stefan.tauner@gmx.at> Reviewed-on: https://review.coreboot.org/21831 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/git-hooks/install.sh3
1 files changed, 2 insertions, 1 deletions
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