Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 65761a2

Browse files
PikachuEXEoschaaf
authored andcommitted
Update build script to pass --skip_deps when called with --no-deps-check (#1461)
1 parent 7650039 commit 65761a2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/build_ngx_pagespeed.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,13 @@ Not deleting $directory; name is suspiciously short. Something is wrong."
634634
run make apache_debug_psol
635635
PSOL_BINARY="$MOD_PAGESPEED_DIR/out/$BUILD_TYPE/pagespeed_automatic.a"
636636
else
637-
run install/build_psol.sh --skip_tests --skip_packaging
637+
if "$DO_DEPS_CHECK"; then
638+
skip_deps_arg = ""
639+
else
640+
skip_deps_arg = "--skip_deps"
641+
fi
642+
643+
run install/build_psol.sh --skip_tests --skip_packaging "$skip_deps_arg"
638644
PSOL_BINARY="$MOD_PAGESPEED_DIR/pagespeed/automatic/pagespeed_automatic.a"
639645
fi
640646
run popd

0 commit comments

Comments
 (0)