Permalink
Browse files

Add missing quotes.

  • Loading branch information...
1 parent 9e64337 commit db2a117ce3199dc1ec15fffd3ab3fd27813be4a1 @mkhl committed Dec 22, 2009
View
4 Commands/Execute Line : Selection in Maude.tmCommand
@@ -6,7 +6,7 @@
<string>saveActiveFile</string>
<key>command</key>
<string>#!/bin/bash
-export TM_MAUDE=${TM_MAUDE:-maude}
+export TM_MAUDE="${TM_MAUDE:-maude}"
require_cmd "$TM_MAUDE"
trim () {
@@ -21,7 +21,7 @@ RUBY
TM_LINE="$(trim "${TM_SELECTED_TEXT:-$TM_CURRENT_LINE}")"
-export TM_RUBY=$(type -p "${TM_RUBY:-ruby}")
+export TM_RUBY="$(type -p "${TM_RUBY:-ruby}")"
"$TM_RUBY" -- "$TM_BUNDLE_SUPPORT/run_maudemate.rb" "$TM_LINE"</string>
<key>fallbackInput</key>
<string>word</string>
View
4 Commands/F-Rewrite Word : Selection.tmCommand
@@ -6,12 +6,12 @@
<string>saveActiveFile</string>
<key>command</key>
<string>#!/bin/bash
-export TM_MAUDE=${TM_MAUDE:-maude}
+export TM_MAUDE="${TM_MAUDE:-maude}"
require_cmd "$TM_MAUDE"
TM_WORD="${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}"
-export TM_RUBY=$(type -p "${TM_RUBY:-ruby}")
+export TM_RUBY="$(type -p "${TM_RUBY:-ruby}")"
"$TM_RUBY" -- "$TM_BUNDLE_SUPPORT/run_maudemate.rb" "frewrite $TM_WORD ."</string>
<key>fallbackInput</key>
<string>word</string>
View
5 Commands/Load in Maude (Terminal).tmCommand
@@ -6,10 +6,9 @@
<string>nop</string>
<key>command</key>
<string>#!/bin/bash
-[[ -z "$TM_FILEPATH" ]] &amp;&amp; TM_TMPFILE=$(mktemp -t maudeInTerm)
-: "${TM_FILEPATH:=$TM_TMPFILE}"; cat &gt;"$TM_FILEPATH"
+[[ -z "$TM_FILEPATH" ]] &amp;&amp; export TM_FILEPATH="$(mktemp -t maudeInTerm)"
-: ${TM_MAUDE:=maude}
+export TM_MAUDE="${TM_MAUDE:-maude}"
require_cmd "$TM_MAUDE"
esc () {
View
4 Commands/Reduce Word : Selection.tmCommand
@@ -6,12 +6,12 @@
<string>saveActiveFile</string>
<key>command</key>
<string>#!/bin/bash
-export TM_MAUDE=${TM_MAUDE:-maude}
+export TM_MAUDE="${TM_MAUDE:-maude}"
require_cmd "$TM_MAUDE"
TM_WORD="${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}"
-export TM_RUBY=$(type -p "${TM_RUBY:-ruby}")
+export TM_RUBY="$(type -p "${TM_RUBY:-ruby}")"
"$TM_RUBY" -- "$TM_BUNDLE_SUPPORT/run_maudemate.rb" "reduce $TM_WORD ."</string>
<key>fallbackInput</key>
<string>word</string>
View
4 Commands/Rewrite Word : Selection.tmCommand
@@ -6,12 +6,12 @@
<string>saveActiveFile</string>
<key>command</key>
<string>#!/bin/bash
-export TM_MAUDE=${TM_MAUDE:-maude}
+export TM_MAUDE="${TM_MAUDE:-maude}"
require_cmd "$TM_MAUDE"
TM_WORD="${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}"
-export TM_RUBY=$(type -p "${TM_RUBY:-ruby}")
+export TM_RUBY="$(type -p "${TM_RUBY:-ruby}")"
"$TM_RUBY" -- "$TM_BUNDLE_SUPPORT/run_maudemate.rb" "rewrite $TM_WORD ."</string>
<key>fallbackInput</key>
<string>word</string>
View
6 Commands/Run.tmCommand
@@ -6,11 +6,11 @@
<string>nop</string>
<key>command</key>
<string>#!/bin/bash
-export TM_MAUDE=${TM_MAUDE:-maude}
+export TM_MAUDE="${TM_MAUDE:-maude}"
require_cmd "$TM_MAUDE"
-export TM_RUBY=$(type -p "${TM_RUBY:-ruby}")
-"$TM_RUBY" -- "$TM_BUNDLE_SUPPORT/run_maudemate.rb"
+export TM_RUBY="$(type -p "${TM_RUBY:-ruby}")"
+"${TM_RUBY}" -- "$TM_BUNDLE_SUPPORT/run_maudemate.rb"
</string>
<key>input</key>
<string>document</string>
View
4 Commands/Show Sort.tmCommand
@@ -6,12 +6,12 @@
<string>saveActiveFile</string>
<key>command</key>
<string>#!/bin/bash
-export TM_MAUDE=${TM_MAUDE:-maude}
+export TM_MAUDE="${TM_MAUDE:-maude}"
require_cmd "$TM_MAUDE"
TM_WORD="${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}"
-export TM_RUBY=$(type -p "${TM_RUBY:-ruby}")
+export TM_RUBY="$(type -p "${TM_RUBY:-ruby}")"
"$TM_RUBY" -- "$TM_BUNDLE_SUPPORT/run_maudemate.rb" "parse $TM_WORD ."</string>
<key>fallbackInput</key>
<string>word</string>

0 comments on commit db2a117

Please sign in to comment.