From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32042 invoked by alias); 20 Aug 2012 03:20:11 -0000 Received: (qmail 32023 invoked by uid 22791); 20 Aug 2012 03:20:10 -0000 X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mr0.ht-systems.ru (HELO mr0.ht-systems.ru) (78.110.50.55) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 20 Aug 2012 03:19:56 +0000 Received: from [91.76.217.18] (helo=darkdragon.lan) by mr0.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1T3IWt-0003XF-7U; Mon, 20 Aug 2012 07:19:51 +0400 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Mon, 20 Aug 2012 03:14:46 -0000 Date: Mon, 20 Aug 2012 04:10:00 -0000 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <1217756072.20120820071446@mtu-net.ru> To: Tom Schutter , cygwin@cygwin.com Subject: Re: semi-automated installation and/or updates In-Reply-To: <20120818201425.GA21116@shadow.schutter.home> References: <20120818163404.GA8853@shadow.schutter.home> <1523147992.20120818223708@mtu-net.ru> <20120818201425.GA21116@shadow.schutter.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00470.txt.bz2 Greetings, Tom Schutter! >> if "%ERRORLEVEL%" EQU "0" goto :endif_check_admin >> >> should be EQL, not EQU. Keep in mind that this comparison WILL fail, if >> extended mode is disabled. >> Fail-proof syntax: >> IF NOT ERRORLEVEL > Actually, EQU is correct. From "if /?": > where compare-op may be one of: > EQU - equal Mine says "EQL" ... So much for M$ consistency... > I changed to the "if [not] errorlevel " syntax to reduce the > dependancies on extended mode. Note that there are probably other > places that depend upon extended mode. I haven't noticed anything apparent. >> References to _TEMPFILE MUST be quoted. You're referring to a filename, >> which may contain spaces. > You are correct. I normally quote filenames when expanding them, I just > missed that one. Fixed. >> You SHOULD NOT run rebaseall manually, unless you really need to do so. > I added the call to rebaseall because of this post by Corinna: > http://cygwin.com/ml/cygwin/2012-08/msg00320.html > Installing more packages that are forgotten in the first run of > setup.exe is what I (and I suspect others) do all the time. I would > love to get some feedback either way on this issue. That's something that should be handled in setup.exe, IMO. May be it's worth putting a clear note, that this is a workaround for existing inconsistency? (With a reference you gave me here.) -- WBR, Andrey Repin (anrdaemon@freemail.ru) 20.08.2012, <07:10> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple