Skip to content

Commit

Permalink
Remove bundle reload and escape method
Browse files Browse the repository at this point in the history
Escaping the command caused it to be seen as one command by php.
  • Loading branch information
infininight committed Mar 12, 2013
1 parent bb576b5 commit 5428541
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Support/generate/generate.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ function runCmd() {
$cmd = false;
}

$args = array_map('escapeshellarg', $args);

if (false !== $cmd) {
array_unshift($args, $cmd);
}
Expand Down Expand Up @@ -498,6 +496,4 @@ function getCompletionsXml($completions) {

runCmd(__DIR__ . '/generate.rb', "{$supportDir}/functions.json");
unlink("{$supportDir}/functions.json");

runCmd(false, '/usr/bin/osascript -e\'tell app "TextMate" to reload bundles\'');
}

0 comments on commit 5428541

Please sign in to comment.