correctly requote arguments to zenity
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
if [[ "$1" == "--display-filepicker" ]]; then
|
if [[ "$1" == "--display-filepicker" ]]; then
|
||||||
if command -v zenity > /dev/null ; then
|
if command -v zenity > /dev/null ; then
|
||||||
zenity --file-selection --title $2
|
zenity --file-selection --title "$2"
|
||||||
else
|
else
|
||||||
mono OpenRA.Utility.exe "$@"
|
mono OpenRA.Utility.exe "$@"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user