Alex Thiessen has uploaded this change for review.

View Change

Fix gitconfig waiting for user input

When running `make gitconfig` on a freshly cloned repository, the script
will wait for user input in a call to `sed`, caused by a spurious
newline introduced in commit 9ab8ae6a55681874ec194bc144077ded5363a317.

Change-Id: I616e94f6e951dddbe951e65ebc74eb1d4dc40d2a
Signed-off-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com>
---
M util/gitconfig/gitconfig.sh
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/23058/1
diff --git a/util/gitconfig/gitconfig.sh b/util/gitconfig/gitconfig.sh
index 116e7fb..5f91a69 100755
--- a/util/gitconfig/gitconfig.sh
+++ b/util/gitconfig/gitconfig.sh
@@ -16,7 +16,7 @@
if [ -d $hooks ]; then
if [ util/gitconfig/commit-msg -nt $hooks/commit-msg ] || \
[ ! -x $hooks/commit-msg ]; then
- sed -e "s,%MAKE%,remake,g"
+ sed -e "s,%MAKE%,remake,g" \
util/gitconfig/commit-msg > $hooks/commit-msg
chmod +x $hooks/commit-msg
fi

To view, visit change 23058. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I616e94f6e951dddbe951e65ebc74eb1d4dc40d2a
Gerrit-Change-Number: 23058
Gerrit-PatchSet: 1
Gerrit-Owner: Alex Thiessen <pandokos+coreboot@gmail.com>