Explorar el 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 hace 2 años
padre
commit
740cd73c8d
Se han modificado 1 ficheros con 2 adiciones y 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