Skip to content

Commit

Permalink
fix unquoted script path
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Nov 22, 2016
1 parent af508d8 commit 78e5117
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# sublime-makensis
#
# The MIT License (MIT)
# Copyright (c) 2015 Jan T. Sott, Derek Willian Stavis
# Copyright (c) 2015, 2ß16 Jan T. Sott, Derek Willian Stavis
#
# This script builds NSIS scripts on non-Windows platforms (Mac OS X, Linux)
# using native makensis or through Wine
Expand Down Expand Up @@ -60,11 +60,11 @@ else
if [[ $1 != '-WX' ]]
then
ARGUMENTS="--"
SCRIPT=$@
SCRIPT=\"$@\"
else
ARGUMENTS="$1 --"
SCRIPT=$2
SCRIPT=\"${@:2}\"
fi

eval wine $MAKENSIS $ARGUMENTS "$SCRIPT"
eval wine $MAKENSIS $ARGUMENTS $SCRIPT
fi

0 comments on commit 78e5117

Please sign in to comment.