Re: [PATCH] vc-list-files: avoid failure when /bin/sh is dash

2009-07-21 Thread Eric Blake
Jim Meyering meyering.net> writes: > That is because bash and dash work differently: > $ for i in bash dash; do $i -c 'a=odd; a=ok b=$a; echo '$i' $b'; done > bash ok > dash odd Good catch. And yes, this is already documented in the autoconf manual on shell portability; the order of assi

[PATCH] vc-list-files: avoid failure when /bin/sh is dash

2009-07-21 Thread Jim Meyering
I've just pushed the following. It fixes a nasty little portability problem: >From 7c385af22c99df5eceda1e82d7aa595e6d5cb796 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 21 Jul 2009 18:24:22 +0200 Subject: [PATCH] vc-list-files: avoid failure when /bin/sh is dash * build-aux