Skip to content

Commit c5303cf

Browse files
author
Jorge Aparicio
committed
pass rustup-setup.sh arguments to rustup-setup
this would let us call ``` curl https://sh.rustup.rs -sSf | sh -s -- -y ``` to install rustup without prompting. closes #297
1 parent ec56e66 commit c5303cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustup-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ main() {
5656
err "/dev/tty does not exist"
5757
fi
5858

59-
run "$_file" < /dev/tty
59+
run "$_file" "$@" < /dev/tty
6060

6161
local _retval=$?
6262

0 commit comments

Comments
 (0)