Skip to content

Commit

Permalink
Merge pull request #43 from ych411521894/master
Browse files Browse the repository at this point in the history
在docker下执行install_centos.sh,chmod -R 卡死
  • Loading branch information
huahua132 authored Jan 20, 2025
2 parents 4d4aaa9 + 5fccc5d commit 4152bb6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions install_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ install_dependencies() {

# 安装Perl
install_perl() {
chmod 744 "3rd/perl/Configure"
chmod +x 3rd/perl/Configure
cd "3rd/perl" || exit
(
source /opt/rh/devtoolset-9/enable
Expand Down Expand Up @@ -43,7 +43,8 @@ install_openssl() {
# 获取脚本当前目录
CURRENT_DIR="$(dirname "$BASH_SOURCE")"
ABSOLUTE_PATH="$(realpath "$CURRENT_DIR/3rd/openssl")"
#chmod -R 744 "3rd/openssl"
chmod 744 "3rd/openssl/config"
chmod 744 "3rd/openssl/Configure"
cd "3rd/openssl" || exit
(
rm -f *.a
Expand Down Expand Up @@ -72,7 +73,7 @@ install_openssl() {

# 编译zlib-1.3.1
install_zlib() {
#chmod -R 744 "3rd/zlib"
chmod 744 "3rd/zlib/configure"
cd "3rd/zlib" || exit
(
rm -f *.o libz.*
Expand Down

0 comments on commit 4152bb6

Please sign in to comment.