Permalink
Browse files

fixed regression #66: wrong number of arguments (4 for 5) (ArgumentEr…

…ror)
  • Loading branch information...
1 parent 9f5d874 commit d4cc784bdc9c8074d8bebce4ab579eebcbd1bb30 @mfoemmel committed Sep 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/fig
View
@@ -183,7 +183,7 @@ elsif shell_command
env.execute_shell(shell_command) { |cmd| os.shell_exec cmd }
elsif argv[0]
package_name, config_name, version_name = parse_descriptor(argv.shift)
- env.include_config(package, package_name, config_name, version_name)
+ env.include_config(package, package_name, config_name, version_name, nil)
env.execute_config(package, package_name, config_name, nil, argv) { |cmd| os.shell_exec cmd }
elsif input
env.execute_config(package, nil, options[:config], nil, argv) { |cmd| os.shell_exec cmd }

0 comments on commit d4cc784

Please sign in to comment.