From 5eae41af5ce52131b30a4d86be5553ead6507f64 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 17 Dec 2007 18:43:24 +0100 Subject: [PATCH] Rename msysGit installer to msysGit-fullinstall While at it, adjust it to grok the html submodule, be nice to the root directory name "msysgit" (instead of "msysGit"), and remove any existing archive of the same name (as 7-Zip cannot update files which are already in the archive). Signed-off-by: Johannes Schindelin --- share/{msysGit => msysGit-fullinstall}/release.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename share/{msysGit => msysGit-fullinstall}/release.sh (84%) diff --git a/share/msysGit/release.sh b/share/msysGit-fullinstall/release.sh similarity index 84% rename from share/msysGit/release.sh rename to share/msysGit-fullinstall/release.sh index b51c101e..15fbd1dd 100644 --- a/share/msysGit/release.sh +++ b/share/msysGit-fullinstall/release.sh @@ -7,10 +7,10 @@ case "$1" in esac VERSION="$1" -TARGET="$HOME"/msysGit-$VERSION.exe +TARGET="$HOME"/msysGit-fullinstall-$VERSION.exe case "$(basename "$(cd /; pwd -W)")" in -msysGit) ;; +msysGit|msysgit) ;; *) echo "Basename of the msysGit directory is not msysGit" exit 1 @@ -22,12 +22,14 @@ cd "$(dirname "$(cd /; pwd -W)")" LIST=list.txt (cd / && - git ls-files | grep -v "^git$" && + git ls-files | grep -ve "^git$" -e "^doc/git/html$" && + (cd doc/git/html && git ls-files | sed 's|^|doc/git/html/|') && cd git && git ls-files | grep -v '^\"\?gitweb' | sed 's|^|git/|' && echo "git/gitweb") | sed "s|^|msysGit/|" > $LIST && # make installer +test -f "$TARGET".7z && rm "$TARGET".7z OPTS7="-m0=lzma -mx=9 -md=64M" && /share/7-Zip/7z.exe a $OPTS7 "$TARGET".7z @$LIST && -- 2.11.4.GIT