mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-19 20:51:59 +01:00
Revert "$PREFIX_PATH can be specified as a relative path"
This reverts commit 20f7b5c0e9
.
Conflicts:
bin/ruby-build
This commit is contained in:
parent
ea2f950da5
commit
c3b57e5bc4
1 changed files with 2 additions and 4 deletions
|
@ -195,13 +195,11 @@ elif [ ! -e "$DEFINITION_PATH" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$2" ]; then
|
PREFIX_PATH="$2"
|
||||||
|
if [ -z "$PREFIX_PATH" ]; then
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "$2"
|
|
||||||
PREFIX_PATH="$(abs_dirname "$2")"
|
|
||||||
|
|
||||||
if [ -z "$TMPDIR" ]; then
|
if [ -z "$TMPDIR" ]; then
|
||||||
TMP="/tmp"
|
TMP="/tmp"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue