find-lang POSIX-compliant find(1) usage (Ville Skyttä)
authorPanu Matilainen <pmatilai@redhat.com>
Sun, 14 Oct 2007 09:31:24 +0000 (12:31 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Sun, 14 Oct 2007 09:31:24 +0000 (12:31 +0300)
scripts/find-lang.sh

index 60e9c69..624ed88 100755 (executable)
@@ -85,7 +85,7 @@ while test $# -gt 0 ; do
     esac
 done    
 
-find $TOP_DIR -type f -or -type l|sed '
+find $TOP_DIR -type f -o -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: