mirror of
https://github.com/rbenv/ruby-build.git
synced 2024-12-29 13:15:33 +01:00
pushd and popd are noisy
This commit is contained in:
parent
a532580664
commit
c9de683381
1 changed files with 4 additions and 4 deletions
|
@ -48,11 +48,11 @@ install_package_using() {
|
|||
local package_name="$3"
|
||||
shift 3
|
||||
|
||||
pushd "$TEMP_PATH"
|
||||
pushd "$TEMP_PATH" >&4
|
||||
"fetch_${package_type}" "$package_name" $*
|
||||
shift $(($package_type_nargs))
|
||||
make_package "$package_name" $*
|
||||
popd
|
||||
popd >&4
|
||||
|
||||
echo "Installed ${package_name} to ${PREFIX_PATH}" >&2
|
||||
}
|
||||
|
@ -61,11 +61,11 @@ make_package() {
|
|||
local package_name="$1"
|
||||
shift
|
||||
|
||||
pushd "$package_name"
|
||||
pushd "$package_name" >&4
|
||||
build_package "$package_name" $*
|
||||
after_install_package "$package_name"
|
||||
fix_directory_permissions
|
||||
popd
|
||||
popd >&4
|
||||
|
||||
echo "Installed ${package_name} to ${PREFIX_PATH}" >&2
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue