vc-list-files: avoid failure when /bin/sh is dash
authorJim Meyering <meyering@redhat.com>
Tue, 21 Jul 2009 16:24:22 +0000 (18:24 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 21 Jul 2009 16:24:22 +0000 (18:24 +0200)
commit7c385af22c99df5eceda1e82d7aa595e6d5cb796
tree5611ab2f6ecb3798cfa4c2cc9b47da6622476e78
parentb80176069521ff306b2b81ef0a9abfa8d741ada7
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
ChangeLog
build-aux/vc-list-files