Skip to content

Commit

Permalink
• bug fixed: don't use %x{ '#{$DIALOG}' ... } to call tm_dialog2 beca…
Browse files Browse the repository at this point in the history
…us $DIALOG is already shell escaped in getBundles.rb => %x{#{$DIALOG} ... }

git-svn-id: http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle@11019 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information
bibiko committed Dec 15, 2008
1 parent ee5db11 commit 40d9f13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Support/getBundles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1142,9 +1142,9 @@ def buildLocalBundleList
res = nil
begin
if $isDIALOG2
res = OSX::PropertyList.load(%x{'#{$DIALOG}' nib --load ResolveSources --model #{e_sh parameters.to_plist}})['result']
res = OSX::PropertyList.load(%x{#{$DIALOG} nib --load ResolveSources --model #{e_sh parameters.to_plist}})['result']
else
res = OSX::PropertyList.load(%x{'#{$DIALOG}' -m ResolveSources -p #{e_sh parameters.to_plist}})['result']
res = OSX::PropertyList.load(%x{#{$DIALOG} -m ResolveSources -p #{e_sh parameters.to_plist}})['result']
end
rescue
writeToLogFile("Error while retrieving data from “Resolve Sources” dialog\n#{$!}")
Expand Down

0 comments on commit 40d9f13

Please sign in to comment.