From 015134e68d6a9f475d5a47a351874a67beb7a7fb Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 18 Aug 2007 01:45:22 +0200 Subject: [PATCH] msysGit: 7z cannot update existing installers It would have been a tremendous speedup, but 7z does not support updating single files within an installer. So kill this code for now. Signed-off-by: Johannes Schindelin --- share/msysGit/release.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/share/msysGit/release.sh b/share/msysGit/release.sh index 5f59feef..c0ec7eda 100644 --- a/share/msysGit/release.sh +++ b/share/msysGit/release.sh @@ -2,20 +2,13 @@ case "$1" in '') - echo "Usage: $0 []" + echo "Usage: $0 " exit 1 esac VERSION="$1" -UPDATE="$2" -ACTION=a TARGET="$HOME"/msysGit-$VERSION.exe -test -z "$UPDATE" || { - test "$UPDATE" = "$TARGET" || mv "$UPDATE" "$TARGET" || exit - ACTION=u -} && - case "$(basename "$(cd /; pwd -W)")" in msysGit) ;; *) @@ -36,4 +29,4 @@ sed "s|^|msysGit/|" > $LIST && # make installer OPTS7="-m0=lzma -mx=9 -md=64M -sfx7z.sfx $TARGET" && -"$PROGRAMFILES"/7-Zip/7z.exe $ACTION $OPTS7 @$LIST +"$PROGRAMFILES"/7-Zip/7z.exe a $OPTS7 @$LIST -- 2.11.4.GIT