phinze/homebrew-cask — pull request #496 by Keithbsmiley (2013-06-12 19:12:13+00:00)
Title: Appdir creation

This patch fixes an issue where regardless of your `HOMEBREW_CASK_OPTS` settings (mine look like `export HOMEBREW_CASK_OPTS="--appdir=/Applications"`) every single time you run `brew cask` your `~/Applications` folder is created. This defers the folder creation until after the custom `HOMEBREW_CASK_OPTS` is taken into account.