Skip to content

Commit c9de683

Browse files
committed
pushd and popd are noisy
1 parent a532580 commit c9de683

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/ruby-build

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ install_package_using() {
4848
local package_name="$3"
4949
shift 3
5050

51-
pushd "$TEMP_PATH"
51+
pushd "$TEMP_PATH" >&4
5252
"fetch_${package_type}" "$package_name" $*
5353
shift $(($package_type_nargs))
5454
make_package "$package_name" $*
55-
popd
55+
popd >&4
5656

5757
echo "Installed ${package_name} to ${PREFIX_PATH}" >&2
5858
}
@@ -61,11 +61,11 @@ make_package() {
6161
local package_name="$1"
6262
shift
6363

64-
pushd "$package_name"
64+
pushd "$package_name" >&4
6565
build_package "$package_name" $*
6666
after_install_package "$package_name"
6767
fix_directory_permissions
68-
popd
68+
popd >&4
6969

7070
echo "Installed ${package_name} to ${PREFIX_PATH}" >&2
7171
}

0 commit comments

Comments
 (0)