Sfoglia il codice sorgente

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 2 anni fa
parent
commit
740cd73c8d
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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