Ver código fonte

Merge pull request #404 from rangerz/fix-composer-auth

Fix wrong variable
Mark Shust 4 anos atrás
pai
commit
98f199c575
1 arquivos 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
     if [ -f "$GLOBAL_AUTH" ]; then
         PUBLIC_KEY=$(python3 -c "$PY3_USER" 2>/dev/null < "$GLOBAL_AUTH")
         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
     fi
 
 
     if [ -z "$PUBLIC_KEY" ] || [ -z "$PRIVATE_KEY" ]; then
     if [ -z "$PUBLIC_KEY" ] || [ -z "$PRIVATE_KEY" ]; then