This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [PATCH setup 0/3] Setup replacement for incver_ifdep
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 24 Nov 2015 19:44:30 +0100
- Subject: Re: [PATCH setup 0/3] Setup replacement for incver_ifdep
- Authentication-results: sourceware.org; auth=none
- References: <1442937170-17580-1-git-send-email-jon dot turney at dronecode dot org dot uk> <561BB2A4 dot 2030009 at dronecode dot org dot uk> <87lhb8htrh dot fsf at Rainer dot invalid> <561FA783 dot 900 at dronecode dot org dot uk> <87oag0qad3 dot fsf at Rainer dot invalid> <20151019154100 dot GB18989 at calimero dot vinschen dot de> <87io62hiz6 dot fsf at Rainer dot invalid> <20151020102150 dot GF5319 at calimero dot vinschen dot de> <56532D34 dot 4090102 at dronecode dot org dot uk> <87bnakmtqc dot fsf at Rainer dot invalid> <56549774 dot 2090008 at dronecode dot org dot uk>
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