Skip to content

Commit 280b3f7

Browse files
committed
Force wget progress bar
1 parent 350a98f commit 280b3f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ LINUX_MAKE := \
170170

171171
$(CLANG_DIR):
172172
$(warning $(YELLOW)Clang directory $(CLANG_DIR) does not exist, downloading prebuilt binaries $(NC))
173-
wget --no-verbose --show-progress $(CLANG_URL) -O clang.tar.xz
173+
wget --no-verbose --show-progress --progress=bar:force $(CLANG_URL) -O clang.tar.xz
174174
mkdir -p $(CLANG_DIR)
175175
tar -xf clang.tar.xz -C $(CLANG_DIR) --strip-components=1
176176

scripts/download_linux.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ if [ $ACK -eq 0 ]; then
3939
echo "Downloading kernel version $VERSION"
4040

4141
if [ $first_char -ge $MIN_VERSION ] && [ $first_char -le $MAX_VERSION ]; then
42-
wget --no-verbose --show-progress $LINUX_URL/v${first_char}.x/linux-$VERSION.tar.xz
42+
wget --no-verbose --show-progress --progress=bar:force $LINUX_URL/v${first_char}.x/linux-$VERSION.tar.xz
4343
tar -xf linux-$VERSION.tar.xz
4444
else
4545
echo "$first_char is not a valid kernel major version number"
4646
exit 1
4747
fi
4848
else
49-
wget $ACK_URL/$VERSION.tar.gz
49+
wget --no-verbose --show-progress --progress=bar:force $ACK_URL/$VERSION.tar.gz
5050
mkdir -p $VERSION
5151
tar -xf $VERSION.tar.gz -C $VERSION
5252
fi

0 commit comments

Comments
 (0)