dockerd: be verbose when building

This commit is contained in:
Frederico F. de Oliveira 2021-01-20 23:22:39 +00:00 committed by Yaksh Bariya
parent 4b75e320f9
commit 7dac2ec74d
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -103,11 +103,9 @@ termux_step_make() {
termux_setup_golang termux_setup_golang
# apply some patches in a batch # apply some patches in a batch
batch=$(grep -R /etc/docker | cut -d':' -f1 | sort | uniq) echo "Applying first batch of patches..."
echo "Applying first batch of patches: $batch"
xargs sed -i "s_\(/etc/docker\)_${TERMUX_PREFIX}\1_g" < <(grep -R /etc/docker | cut -d':' -f1 | sort | uniq) xargs sed -i "s_\(/etc/docker\)_${TERMUX_PREFIX}\1_g" < <(grep -R /etc/docker | cut -d':' -f1 | sort | uniq)
batch=$(grep -R '[a-zA-Z0-9]*\.GOOS' | cut -d':' -f1 | sort | uniq) echo "Applying second batch of patches..."
echo "Applying second batch of patches: $batch"
xargs sed -i 's/[a-zA-Z0-9]*\.GOOS/"linux"/g' < <(grep -R '[a-zA-Z0-9]*\.GOOS' | cut -d':' -f1 | sort | uniq) xargs sed -i 's/[a-zA-Z0-9]*\.GOOS/"linux"/g' < <(grep -R '[a-zA-Z0-9]*\.GOOS' | cut -d':' -f1 | sort | uniq)
echo "Applying third batch of patches..." echo "Applying third batch of patches..."
for file in $files; do for file in $files; do