From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53722 invoked by alias); 24 Nov 2015 18:44:36 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 53697 invoked by uid 89); 24 Nov 2015 18:44:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-13.arcor-online.net Received: from mail-in-13.arcor-online.net (HELO mail-in-13.arcor-online.net) (151.189.21.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 24 Nov 2015 18:44:34 +0000 Received: from mail-in-20-z2.arcor-online.net (mail-in-20-z2.arcor-online.net [151.189.8.85]) by mx.arcor.de (Postfix) with ESMTP id 3p4vQk5yYdz326N for ; Tue, 24 Nov 2015 19:44:30 +0100 (CET) Received: from mail-in-17.arcor-online.net (mail-in-17.arcor-online.net [151.189.21.57]) by mail-in-20-z2.arcor-online.net (Postfix) with ESMTP id C99E183815B for ; Tue, 24 Nov 2015 19:44:30 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 3p4vQk4yt0zXtT Received: from Gertrud (p54B47DEA.dip0.t-ipconnect.de [84.180.125.234]) (Authenticated sender: stromeko@arcor.de) by mail-in-17.arcor-online.net (Postfix) with ESMTPSA id 3p4vQk4yt0zXtT for ; Tue, 24 Nov 2015 19:44:30 +0100 (CET) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: [PATCH setup 0/3] Setup replacement for incver_ifdep References: <1442937170-17580-1-git-send-email-jon.turney@dronecode.org.uk> <561BB2A4.2030009@dronecode.org.uk> <87lhb8htrh.fsf@Rainer.invalid> <561FA783.900@dronecode.org.uk> <87oag0qad3.fsf@Rainer.invalid> <20151019154100.GB18989@calimero.vinschen.de> <87io62hiz6.fsf@Rainer.invalid> <20151020102150.GF5319@calimero.vinschen.de> <56532D34.4090102@dronecode.org.uk> <87bnakmtqc.fsf@Rainer.invalid> <56549774.2090008@dronecode.org.uk> Date: Tue, 24 Nov 2015 18:44:00 -0000 In-Reply-To: <56549774.2090008@dronecode.org.uk> (Jon Turney's message of "Tue, 24 Nov 2015 16:59:32 +0000") Message-ID: <87ziy3utip.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-11/txt/msg00064.txt.bz2 Jon Turney writes: >> So, should we try to guard against that (installations on a USB stick >> are probably the only practical occurence these days)? I wouldn't mind >> if we just unconditionally rebuild on FAT(32). > > Thinking this over, it doesn't seem that hard to use a hash to > determine if the directory has changed. As I said before, if you're going that route I'd rather do the same thing as for autorebase and maintain a list of info files. This way you could remove and add individual info files rather than just rebuilding everything, just the way post-install works on Linux in this case. > How about the attached? > > (This will add a dependency on diffutils for cmp) You could read the md5sums into variables instead and just compare the resulting strings within bash. Otherwise we'd have to add diffutils to the Base category. >> Otherwise, it looks good and thanks for writing up a script. > > #!/bin/bash Use /bin/dash if possible. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra