OSDN Git Service

Complete fanotify_mark.2, utimensat.2, iconv.1
[linuxjm/LDP_man-pages.git] / tools / check-add_ja-copyright.sh
1 #!/bin/bash
2
3 if [ ! -d draft ]; then
4     echo "draft directory not found."
5     exit 1
6 fi
7 if [ ! -d add_ja/copyright ]; then
8     echo "add_ja/copyright directory not found."
9     exit 1
10 fi
11
12 cd draft
13 for f in `find man? -type f`; do
14     if [ ! -f ../add_ja/copyright/$f ]; then
15         echo "add_ja/copyright/$f does not exist for draft/$f"
16     fi
17 done