Permalink
Browse files

pickup local bq path

  • Loading branch information...
1 parent 76bc27d commit 8c320fb15a9722912cc1721cdd6a719812b1f055 @igrigorik committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bigquery/sync.rb
View
@@ -25,7 +25,7 @@
exit(1) if !r
# upload the data to BigQuery
-puts system("bq #{'--nosync' if !options[:sync]} " +
+puts system(`which bq`.chomp + " #{'--nosync' if !options[:sync]} " +
"#{'--apilog true' if options[:verbose]} " +
"load github.events /tmp/bq.csv.gz")

0 comments on commit 8c320fb

Please sign in to comment.