Mac Installer: Add file name quoting.

This commit is contained in:
Klaas Freitag 2014-09-22 16:45:33 +02:00
parent 00ae3c3120
commit 8f8265b219

View file

@ -62,9 +62,9 @@ fi
# Sparkle wants a tbz, it cannot install raw pkg
cd $install_path
tar cf $installer_file_tar $installer_file
bzip2 -9 $installer_file_tar
mv $installer_file_tar_bz2 $installer_file_tbz
tar cf "$installer_file_tar" "$installer_file"
bzip2 -9 "$installer_file_tar"
mv "$installer_file_tar_bz2" "$installer_file_tbz"
rc=$?
if [ $rc == 0 ]; then
echo "Successfully created $installer_file"