Fix another stupid error in the installer thing

This commit is contained in:
ArsenArsen 2017-07-07 14:55:23 +02:00
parent f67d9613f7
commit 4e91d8f8e5

View File

@ -5,8 +5,10 @@ function addFile {
}
function addAllFiles {
find $1 -type f -iname $2 | while read -r filename; do
addFile $filename
(find $1 -type f -iname "$2" || exit 1) | while read -r filename; do
cp $filename .
echo $filename
echo "Source: \"$(basename $filename)\"; DestDir: \"{app}\"; Flags: ignoreversion" >> installer.iss
done
}