Skip to content

Commit b8576c8

Browse files
committed
Delete tab indent...
1 parent 6e96a35 commit b8576c8

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

bin/ruby-build

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -923,24 +923,24 @@ use_homebrew_yaml() {
923923
use_freebsd_pkg() {
924924
# check if FreeBSD
925925
if [ "FreeBSD" = "$(uname -s)" ]; then
926-
# use openssl if installed from Ports Collection
927-
if [ -f /usr/local/include/openssl/ssl.h ]; then
928-
package_option ruby configure --with-openssl-dir="/usr/local"
929-
fi
926+
# use openssl if installed from Ports Collection
927+
if [ -f /usr/local/include/openssl/ssl.h ]; then
928+
package_option ruby configure --with-openssl-dir="/usr/local"
929+
fi
930930

931-
# check if 11-R or later
932-
release="$(uname -r)"
933-
if [ "${release%%.*}" -ge 11 ]; then
934-
# prefers readline to compile most of ruby versions
935-
if pkg info -e readline > /dev/null; then
936-
# use readline from Ports Collection
937-
package_option ruby configure --with-readline-dir="/usr/local"
938-
elif pkg info -e libedit > /dev/null; then
939-
# use libedit from Ports Collection
940-
package_option ruby configure --enable-libedit
941-
package_option ruby configure --with-libedit-dir="/usr/local"
942-
fi
931+
# check if 11-R or later
932+
release="$(uname -r)"
933+
if [ "${release%%.*}" -ge 11 ]; then
934+
# prefers readline to compile most of ruby versions
935+
if pkg info -e readline > /dev/null; then
936+
# use readline from Ports Collection
937+
package_option ruby configure --with-readline-dir="/usr/local"
938+
elif pkg info -e libedit > /dev/null; then
939+
# use libedit from Ports Collection
940+
package_option ruby configure --enable-libedit
941+
package_option ruby configure --with-libedit-dir="/usr/local"
943942
fi
943+
fi
944944
fi
945945
}
946946

0 commit comments

Comments
 (0)