correctly requote arguments to zenity

This commit is contained in:
Chris Forbes
2011-05-06 08:31:19 +12:00
parent 9434dd993a
commit 52f79f232e

View File

@@ -3,8 +3,8 @@
if [[ "$1" == "--display-filepicker" ]]; then
if command -v zenity > /dev/null ; then
zenity --file-selection --title $2
zenity --file-selection --title "$2"
else
mono OpenRA.Utility.exe "$@"
fi
fi
fi