summaryrefslogtreecommitdiff
path: root/homebrew/googlesqltool/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/googlesqltool/.make.sh-auto')
-rw-r--r--homebrew/googlesqltool/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/googlesqltool/.make.sh-auto b/homebrew/googlesqltool/.make.sh-auto
new file mode 100644
index 000000000..c37718eab
--- /dev/null
+++ b/homebrew/googlesqltool/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+chmod 0755, "google_sql.sh"
+inreplace "google_sql.sh", 'SQL_SH_DIR="$(cd $(dirname $0); pwd)"', "SQL_SH_DIR=\"#{libexec}\""
+libexec.install %w[google_sql.sh google_sql.jar]
+bin.install_symlink libexec/"google_sql.sh" => "google_sql"