mirror of
https://github.com/rbenv/ruby-build.git
synced 2024-12-28 20:55:31 +01:00
Allow running install.sh
from outside of project's root
`cd` into project's root on every invocation. Fixes #243
This commit is contained in:
parent
5a68586740
commit
719f8832a3
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
set -e
|
||||
|
||||
cd "${0%/*}"
|
||||
|
||||
if [ -z "${PREFIX}" ]; then
|
||||
PREFIX="/usr/local"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue