fix: build: ignore ~/.wgetrc to avoid interference #533
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
name: pull request
about: submit changes to the project
title: "[pr] fix: build: ignore ~/.wgetrc to avoid interference"
labels: ''
assignees: 'louis030195'
description
Users can define personal settings for wget in
~/.wgetrc
. When thewget
command is run it reads this configuration file by default and add the corresponding options. Thescripts/pre_build.js
script fails when some user options are specified in the configuration file because they conflict with the options that this script uses. The solution is to ignore this user configuration file.related issue: ø
type of change
how to test
~/.wgetrc
and just puttimestamping = on
inside.bun scripts/pre_build.js
fromscreenpipe-app-tauri
and confirm that wget errors out because-nc
and--timestamp
can't be combined.bun scripts/pre_build.js
again. This time around wget works properly.checklist
additional notes
any other relevant information about the pr.