We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81d5451 commit 36e280bCopy full SHA for 36e280b
1 file changed
tools/scripts/download
@@ -32,9 +32,9 @@
32
url="$1"
33
34
# Find a program for downloading a resource:
35
-CURL=$(which curl 2>/dev/null)
36
-WGET=$(which wget 2>/dev/null)
37
-FETCH=$(which fetch 2>/dev/null)
+CURL=$(command -v curl 2>/dev/null)
+WGET=$(command -v wget 2>/dev/null)
+FETCH=$(command -v fetch 2>/dev/null)
38
39
# Define a timeout (in seconds):
40
timeout=30
0 commit comments