Relax license of the stpcpy module.
[gnulib.git] / build-aux / vc-list-files
index 63b403a..8ca4530 100755 (executable)
@@ -2,7 +2,7 @@
 # List version-controlled file names.
 
 # Print a version string.
-scriptversion=2008-04-30.12
+scriptversion=2008-05-01.10
 
 # Copyright (C) 2006-2008 Free Software Foundation, Inc.
 
@@ -75,6 +75,9 @@ if test -d .git; then
   eval exec git ls-files '"$dir"' $postprocess
 elif test -d .hg; then
   eval exec hg locate '"$dir/*"' $postprocess
+elif test -d .bzr; then
+  test "$postprocess" = '' && postprocess="| sed 's|^\./||'"
+  eval exec bzr ls --versioned '"$dir"' $postprocess
 elif test -d CVS; then
   test "$postprocess" = '' && postprocess="| sed 's|^\./||'"
   if test -x build-aux/cvsu; then
@@ -88,7 +91,7 @@ elif test -d CVS; then
          sub(/CVS\/Entries/, "", f);   \
          print f $2;                   \
        }}'\''                          \
-      $(find "$dir" -name Entries -print) /dev/null' $postprocess
+      `find "$dir" -name Entries -print` /dev/null' $postprocess
   fi
 else
   echo "$0: Failed to determine type of version control used in `pwd`" 1>&2