Skip to content

Commit

Permalink
change SWITCH_HOME environment variable to TREMA_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkaranatsios committed Apr 10, 2013
1 parent 79f17b3 commit f8dd50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby/trema/trema-switch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def method_missing message, *args
def command
ports = @stanza[ :ports ]
ports = Trema::Link.instances.values.map.with_index { | each, i | "#{ each.name }/#{ i + 1 }" }.join( ',' ) if @stanza[ :ports ].nil?
"export SWITCH_HOME=`pwd`; sudo -E #{ Executables.switch } -i #{ dpid_short } -e #{ ports } > #{ log_file } &"
"export TREMA_HOME=`pwd`; sudo -E #{ Executables.switch } -i #{ dpid_short } -e #{ ports } > #{ log_file } &"
end
end
end
Expand Down

0 comments on commit f8dd50d

Please sign in to comment.