Ver Fonte

Fix wrong variable

Ranger Chan há 4 anos atrás
pai
commit
117d76bb0f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      compose/bin/setup-composer-auth

+ 1 - 1
compose/bin/setup-composer-auth

@@ -28,7 +28,7 @@ elif [ $USE_PYTHON3 ]; then
 
     if [ -f "$GLOBAL_AUTH" ]; then
         PUBLIC_KEY=$(python3 -c "$PY3_USER" 2>/dev/null < "$GLOBAL_AUTH")
-        PRIVATE_KEY=$(python3 -c "$PY3_USER" 2>/dev/null < "$GLOBAL_AUTH")
+        PRIVATE_KEY=$(python3 -c "$PY3_PASS" 2>/dev/null < "$GLOBAL_AUTH")
     fi
 
     if [ -z "$PUBLIC_KEY" ] || [ -z "$PRIVATE_KEY" ]; then