Skip to content

Commit

Permalink
removed line ending changes
Browse files Browse the repository at this point in the history
  • Loading branch information
josephlewisnz committed Jul 20, 2023
1 parent f837ae9 commit 016f135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ps_silverstripe.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
writeln('mkdir to save contents - {{upgrade_path}}');
run(" mkdir -p {{upgrade_path}}");
writeln('Export using .env details');
run("cd {{shared_path}} && sed 's/\\r\$//' .env > .env.lf && mv .env.lf .env && export $(grep -v '^#' .env | xargs) && mysqldump -u \$SS_DATABASE_USERNAME -p\$SS_DATABASE_PASSWORD -h \$SS_DATABASE_SERVER --column-statistics=0 --no-tablespaces \$SS_DATABASE_NAME > {{upgrade_path}}/mysql57-backup.sql");
run("cd {{shared_path}} && export $(grep -v '^#' .env | xargs) && mysqldump -u \$SS_DATABASE_USERNAME -p\$SS_DATABASE_PASSWORD -h \$SS_DATABASE_SERVER --column-statistics=0 --no-tablespaces \$SS_DATABASE_NAME > {{upgrade_path}}/mysql57-backup.sql");
writeln('Finished exporting db');

//2) Set up new db fields
Expand Down

0 comments on commit 016f135

Please sign in to comment.