match *.omf, not *omf in find-lang (Ville Skyttä)
authorPanu Matilainen <pmatilai@redhat.com>
Sun, 14 Oct 2007 09:49:18 +0000 (12:49 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Sun, 14 Oct 2007 09:49:18 +0000 (12:49 +0300)
scripts/find-lang.sh

index c714ed0..7a74e02 100755 (executable)
@@ -126,8 +126,8 @@ s:^\([^%].*\)::
 
 find $TOP_DIR -type f|sed '
 s:'"$TOP_DIR"'::
-'"$NO_ALL_NAME$GNOME"'s:\(.*/omf/'"$NAME"'/'"$NAME"'-\([^/.]\+\).omf\):%lang(\2) \1:
-'"$ALL_NAME$GNOME"'s:\(.*/omf/[a-zA-Z0-9.\_\-]\+/[a-zA-Z0-9.\_\-]\+-\([^/.]\+\).omf\):%lang(\2) \1:
+'"$NO_ALL_NAME$GNOME"'s:\(.*/omf/'"$NAME"'/'"$NAME"'-\([^/.]\+\)\.omf\):%lang(\2) \1:
+'"$ALL_NAME$GNOME"'s:\(.*/omf/[a-zA-Z0-9.\_\-]\+/[a-zA-Z0-9.\_\-]\+-\([^/.]\+\)\.omf\):%lang(\2) \1:
 s:^[^%].*::
 s:%lang(C) ::
 /^$/d' >> $MO_NAME