Skip to content

Commit

Permalink
fix env variable expansion in sqitch.bat
Browse files Browse the repository at this point in the history
see #64. env vars such as SQITCH_USERNAME were
passed through as `-e <var value>` instead of
`-e SQITCH_USERNAME=<var value>`
  • Loading branch information
NeroVanbiervliet committed Jun 18, 2024
1 parent 2e12adb commit 96dcbdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-sqitch.bat
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ for %%i in (
SNOWSQL_ACCOUNT SNOWSQL_USER SNOWSQL_PWD SNOWSQL_HOST SNOWSQL_PORT SNOWSQL_DATABASE SNOWSQL_REGION SNOWSQL_WAREHOUSE SNOWSQL_PRIVATE_KEY_PASSPHRASE
) do if defined %%i (
echo %%i is defined as !%%i!
SET passopt=!passopt! -e !%%i!
SET passopt=!passopt! -e %%i=!%%i!
)

REM # Determine the name of the container home directory.
Expand Down

0 comments on commit 96dcbdd

Please sign in to comment.