From e25f31d68e0b34c2ae64eb8f08d81ae3bc93ee7a Mon Sep 17 00:00:00 2001 From: "Dickson S. Guedes" Date: Sun, 22 May 2011 23:49:16 -0300 Subject: [PATCH] fixing code to start symlinks infrastructure --- bin/pgxn_utils | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pgxn_utils b/bin/pgxn_utils index ed14911..758a5ad 100755 --- a/bin/pgxn_utils +++ b/bin/pgxn_utils @@ -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 ) -- 2.39.5