diff --git a/.gitattributes b/.gitattributes index f2974da861..b8424c26a7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/tools/find_missing_lpl_files.sh b/tools/find_missing_lpl_files.sh new file mode 100755 index 0000000000..cb894e4be8 --- /dev/null +++ b/tools/find_missing_lpl_files.sh @@ -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. +