From 4e91d8f8e592e324bd982cb87a704ee3ca519b18 Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Fri, 7 Jul 2017 14:55:23 +0200 Subject: [PATCH] Fix another stupid error in the installer thing --- AppVeyor/make_installer.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/AppVeyor/make_installer.sh b/AppVeyor/make_installer.sh index 93aa335..38cf4ad 100644 --- a/AppVeyor/make_installer.sh +++ b/AppVeyor/make_installer.sh @@ -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 }