From d08e6d4a4092de249e7ea7197115bbba0cda06d7 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Fri, 7 Sep 2007 15:59:38 +0100 Subject: [PATCH] WinGit: fix location of git-completion.bash Earlier, we got a warning saying that the completions cannot be found. Include them in the installer, and initialize them properly. Signed-off-by: Johannes Schindelin --- share/WinGit/release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/WinGit/release.sh b/share/WinGit/release.sh index a576bf0c1e..8dbf1cbf94 100644 --- a/share/WinGit/release.sh +++ b/share/WinGit/release.sh @@ -29,7 +29,9 @@ rm $(cat fileList-builtins.txt) && tar xvf - && strip bin/{[a-fh-z],g[a-oq-z]}*.exe && mkdir etc && -cp /etc/profile etc/ && +cp /git/contrib/completion/git-completion.bash etc/ && +sed 's/^\. .*\(git-completion.bash\)/. \/etc\/\1/' \ + < /etc/profile > etc/profile && cp /share/resources/git.ico etc/ && cp /share/WinGit/install.tcl ./ && : > "$LIST7" && -- 2.11.4.GIT