Explorar o código

bin: fix get-aws-login on non-nixos

pulumi from nixpkgs applies a LD_LIBRARY_PATH which is propagated to the
credential helper which breaks showing prompts so we just unset it.
Thomas Dy %!s(int64=2) %!d(string=hai) anos
pai
achega
740cd73c8d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      .local/bin/get-aws-login

+ 2 - 0
.local/bin/get-aws-login

@@ -1,5 +1,7 @@
 #!/usr/bin/env bash
 
+unset LD_LIBRARY_PATH
+
 function log {
   if [ -t 1 ]; then
     echo "$@" >&2