summaryrefslogtreecommitdiff
path: root/scripts/cmapdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cmapdump.c')
-rw-r--r--scripts/cmapdump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/cmapdump.c b/scripts/cmapdump.c
index cc1534dc..88f1f800 100644
--- a/scripts/cmapdump.c
+++ b/scripts/cmapdump.c
@@ -75,6 +75,10 @@ main(int argc, char **argv)
else
realname = argv[i];
+ /* ignore VCS folders (such as .svn) */
+ if (*realname == '.')
+ continue;
+
if (strlen(realname) > (sizeof name - 1))
{
fprintf(stderr, "cmapdump: file name too long\n");