Include symlinks in find-lang search (rhbz#246729)
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 6 Jul 2007 12:16:09 +0000 (15:16 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 6 Jul 2007 12:16:09 +0000 (15:16 +0300)
scripts/find-lang.sh

index d5e55b5..0e9ca61 100755 (executable)
@@ -85,7 +85,7 @@ while test $# -gt 0 ; do
     esac
 done    
 
-find $TOP_DIR -type f|sed '
+find $TOP_DIR -type f -or -type l|sed '
 s:'"$TOP_DIR"'::
 '"$ALL_NAME$MO"'s:\(.*/share/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:
 '"$NO_ALL_NAME$MO"'s:\(.*/share/locale/\)\([^/_]\+\)\(.*/'"$NAME"'\.mo$\):%lang(\2) \1\2\3: