* Allow extra parameters to be passed to Curl through the `CURL_FLAGS'
environment variable. This is useful for passing authentication information (it won't show up in `ps'). Hacky - nix-push should abstract over the use of Curl.
This commit is contained in:
parent
2c5a8bf49f
commit
7cce0c34e1
|
@ -12,7 +12,7 @@ my $manifest = "$tmpdir/MANIFEST";
|
|||
|
||||
END { unlink $manifest; unlink $nixfile; rmdir $tmpdir; }
|
||||
|
||||
my $curl = "@curl@ --fail --silent";
|
||||
my $curl = "@curl@ --fail --silent ${ENV{'CURL_FLAGS'}}";
|
||||
|
||||
|
||||
# Parse the command line.
|
||||
|
|
Loading…
Reference in a new issue