tg-export.sh: allow --quilt export to pre-existing empty dir
commit86a5b5a475277e570451d0f6210cd31099cf1d0b
authorKyle J. McKay <mackyle@gmail.com>
Fri, 23 Jun 2017 20:28:27 +0000 (23 13:28 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 23 Jun 2017 20:28:27 +0000 (23 13:28 -0700)
tree103b143f5a4d8af6dbaec6d46227c91b5d0dc275
parent117aa8f4c56285a42b45712205aa36c4e45afb9c
tg-export.sh: allow --quilt export to pre-existing empty dir

There's no reason to disallow export to a pre-existing directory
that's empty.  In fact, allow it to contain any number of ".*"
files as well since --quilt never writes files with a leading
"." (Git ref names may not have "." as either the first or last
character of any component of the ref name).

With this change it's enough to remove the previous --quilt
output files in order to re-run the export without needing to
add a `--force` option.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
tg-export.sh