Skip to content

Commit

Permalink
fixing code to start symlinks infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
guedes committed May 23, 2011
1 parent 2f662fa commit e25f31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pgxn_utils
Expand Up @@ -3,7 +3,7 @@ $:.unshift File.expand_path('..', __FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)
require 'pgxn_utils'

task = __FILE__.split('-').first if File.basename(__FILE__) != 'pgxn_utils'
task = __FILE__.split('-')[1] if File.basename(__FILE__) != 'pgxn_utils'
command_args = [ task ] + ARGV if task

PgxnUtils::CLI.start( command_args || ARGV )

0 comments on commit e25f31d

Please sign in to comment.