You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by wf...@apache.org on 2014/04/22 22:07:10 UTC

git commit: Replace sed command with linux and OSX-friendly perl expression.

Repository: incubator-aurora
Updated Branches:
  refs/heads/master 22ad73672 -> 56649c0be


Replace sed command with linux and OSX-friendly perl expression.

Bugs closed: AURORA-344

Reviewed at https://reviews.apache.org/r/20571/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/56649c0b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/56649c0b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/56649c0b

Branch: refs/heads/master
Commit: 56649c0be405e5bae669346ee0af0f73308a38d4
Parents: 22ad736
Author: Bill Farner <wf...@apache.org>
Authored: Tue Apr 22 13:06:12 2014 -0700
Committer: Bill Farner <wf...@apache.org>
Committed: Tue Apr 22 13:06:12 2014 -0700

----------------------------------------------------------------------
 examples/vagrant/test_tutorial.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/56649c0b/examples/vagrant/test_tutorial.sh
----------------------------------------------------------------------
diff --git a/examples/vagrant/test_tutorial.sh b/examples/vagrant/test_tutorial.sh
index 1b745b8..b607c3a 100644
--- a/examples/vagrant/test_tutorial.sh
+++ b/examples/vagrant/test_tutorial.sh
@@ -118,10 +118,10 @@ aurora_command create "create $JOB_KEY /vagrant/hello_world.aurora"
 await_task_in_state $JOB_KEY FAILED
 
 # Fix the bug in our test script.
-sed -i '' 's/xrang(/xrange(/' hello_world.py
+perl -pi -e 's|xrang\(|xrange\(|g' hello_world.py
 aurora_command update "update $JOB_KEY /vagrant/hello_world.aurora"
 await_task_in_state $JOB_KEY RUNNING
 
 aurora_command killall "killall $JOB_KEY"
 
-exit 0
\ No newline at end of file
+exit 0