Commit 7c385af22c99df5eceda1e82d7aa595e6d5cb796

Jim Meyering 2009-07-21T18:24:22

vc-list-files: avoid failure when /bin/sh is dash * build-aux/vc-list-files: Avoid a shell portability problem with dash. On some Debian based systems, /bin/sh is a symlink to dash, and running this command would omit the "/" following each 'tests' prefix: dash -x build-aux/vc-list-files -C . tests 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