added find_missing_lpl_files.sh

git-svn-id: trunk@16036 -
This commit is contained in:
mattias 2008-08-12 13:27:00 +00:00
parent 75d4901a35
commit b7d11f8678
2 changed files with 18 additions and 0 deletions

1
.gitattributes vendored
View File

@ -3744,6 +3744,7 @@ tools/check_ide_libs.sh -text svneol=native#application/x-sh
tools/convert_po_file_to_utf-8.sh svneol=native#text/plain
tools/copy_po_files_to_lazarus_sources.sh -text svneol=native#application/x-sh
tools/delete_non_svn_files.pl svneol=native#text/plain
tools/find_missing_lpl_files.sh svneol=native#text/plain
tools/getallpofiles.sh -text svneol=native#application/x-sh
tools/iconvtable.lpi svneol=native#text/plain
tools/iconvtable.pas svneol=native#text/plain

17
tools/find_missing_lpl_files.sh Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
#
# run in tools
# prints out all lpk files without lpl
set -e
LazDir=..
LPKFiles=$(find $LazDir -name '*.lpk' | xargs)
for LPK in $LPKFiles; do
LPKName=$(echo $LPK | sed -e 's/.*\///' -e 's/.lpk//')
ls $LazDir/packager/globallinks/${LPKName}-*.lpl 2>/dev/null > /dev/null || echo missing lpl for $LPK
done
#end.