From 66f31b4142ebd3410d97a83b2988bd863b47e19d Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 7 May 2009 23:03:48 +0200 Subject: [PATCH] Git installer: make sure that the builtin list is included There was an environment variable leak, so make sure that the variable DONT_REMOVE_BUILTINS is not set when making the installer. Noticed by Bernt Hansen. Signed-off-by: Johannes Schindelin --- share/WinGit/copy-files.sh | 2 +- share/WinGit/release.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/share/WinGit/copy-files.sh b/share/WinGit/copy-files.sh index afdbbe7f26..d0d6a87297 100644 --- a/share/WinGit/copy-files.sh +++ b/share/WinGit/copy-files.sh @@ -55,7 +55,7 @@ rm -rf bin/cvs.exe && test -f lib/perl5/site_perl/Git.pm && gitmd5=$(md5sum bin/git.exe | cut -c 1-32) && mkdir etc && -if -z "$DONT_REMOVE_BUILTINS" +if test -z "$DONT_REMOVE_BUILTINS" then md5sum {bin,libexec/git-core}/git-*.exe | sed -n "s/^$gitmd5 \\*//p" > etc/fileList-builtins.txt && diff --git a/share/WinGit/release.sh b/share/WinGit/release.sh index a2aa3198c9..68a1cc53e9 100644 --- a/share/WinGit/release.sh +++ b/share/WinGit/release.sh @@ -63,6 +63,7 @@ test -z "$force" && { } TMPDIR=/tmp/WinGit +unset DONT_REMOVE_BUILTINS /share/WinGit/copy-files.sh $TMPDIR && sed "s/msysGit/Git (version $version)/" < /etc/motd > $TMPDIR/etc/motd && -- 2.11.4.GIT