Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmaketgz: compacter #13391

Closed
wants to merge 4 commits into from
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 7 additions & 11 deletions scripts/dmaketgz
Expand Up @@ -39,14 +39,10 @@ docker build \
--build-arg GID="$(id -g)" \
-t curl/curl .

run="run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl"

# shellcheck disable=SC2086
# "Double quote to prevent globbing and word splitting" on the $run use below
docker $run autoreconf -fi
# shellcheck disable=SC2086
docker $run ./configure --without-ssl --without-libpsl
# shellcheck disable=SC2086
docker $run make -sj8
# shellcheck disable=SC2086
docker $run ./maketgz $version
docker run --rm -it -u "$(id -u):$(id -g)" \
-v "$(pwd):/usr/src" -w /usr/src curl/curl sh -c "
set -e
autoreconf -fi
./configure --without-ssl --without-libpsl
make -sj8
./maketgz $version"