瀏覽代碼

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 年之前
父節點
當前提交
740cd73c8d
共有 1 個文件被更改,包括 2 次插入0 次删除
  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