summaryrefslogtreecommitdiff
path: root/homebrew/sbtenv/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/sbtenv/.make.sh-auto')
-rw-r--r--homebrew/sbtenv/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/sbtenv/.make.sh-auto b/homebrew/sbtenv/.make.sh-auto
new file mode 100644
index 000000000..69f807cee
--- /dev/null
+++ b/homebrew/sbtenv/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+var_lib = HOMEBREW_PREFIX/"var/lib/sbtenv"
+%w[plugins versions].each do |dir|
+var_dir = "#{var_lib}/#{dir}"
+mkdir_p var_dir
+ln_sf var_dir, "#{prefix}/#{dir}"