Skip to content

Commit 9088a27

Browse files
committed
Changed <> in sqlcmd to -i/-o due to wsl issue
1 parent de14fd7 commit 9088a27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/features/sql-big-data-cluster/bootstrap-sample-db.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fi
9393
echo Configuring sample database...
9494
# WSL ex: "/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn/SQLCMD.EXE"
9595
export SA_PASSWORD=$KNOX_PASSWORD
96-
$DEBUG sqlcmd -S $SQL_MASTER_INSTANCE -Usa -P$SQL_MASTER_SA_PASSWORD -I -b < "$STARTUP_PATH/bootstrap-sample-db.sql" > "bootstrap.out" || (echo $ERROR_MESSAGE && exit 2)
96+
$DEBUG sqlcmd -S $SQL_MASTER_INSTANCE -Usa -P$SQL_MASTER_SA_PASSWORD -I -b -i "$STARTUP_PATH/bootstrap-sample-db.sql" -o "bootstrap.out" || (echo $ERROR_MESSAGE && exit 2)
9797

9898
# remove files copied into the pod:
9999
echo Removing database backup files...

0 commit comments

Comments
 (0)