| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
if [ "$1" = debug ]; then |
| 6 |
set -x |
| 7 |
COPYRIGHT="debian/copyright" |
| 8 |
else |
| 9 |
COPYRIGHT="/usr/share/doc/nautilus-hide/copyright" |
| 10 |
fi |
| 11 |
|
| 12 |
# Make sure we have an entry for each translation file. |
| 13 |
for f in po/*.po; do |
| 14 |
grep -qx "Files: $f" "$COPYRIGHT" |
| 15 |
done |