Created
May 27, 2010 04:53
-
-
Save ahk/415474 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Simple executable wrapper for Surrender's server/client dispatching | |
this_file = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ | |
bin_dir = File.dirname this_file | |
exec_file = File.join bin_dir, '..', 'surrender.rb' | |
args = ARGV.join ' ' | |
exec "ruby #{exec_file} #{args}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment