joelthelion/autojump — pull request #161 by jjk-jacky (2012-11-16 14:45:58+00:00)
Title: Fix install.sh script to support destdir

The install script didn't support the use of a destination directory, which can
be pretty useful e.g. to create packages.

--
This adds a few options, but should work pretty much as it dir before, only allowing to set a destination directory as well. Lacking this made the script unable to be used to create packages, e.g. see https://bugs.archlinux.org/task/32669

The --auto mimics the original behavior (without parameters), and --local or --global should be enough most of the times.