Skip to content

Commit 30e0e9f

Browse files
committed
Dynamically remove '\' characters from comments in SQL files to allow MariaDB to read them correctly
1 parent d0e1631 commit 30e0e9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ jobs:
101101
schemas/ispyb/routines.sql \
102102
grants/ispyb_processing.sql \
103103
grants/ispyb_import.sql; do
104+
105+
echo "Patching ${f} to fix CLI escape issues..."
106+
sed -i 's/\\-/-/g' "$f"
107+
104108
echo Importing ${f}...
105109
mariadb --defaults-file=.my.cnf < $f
106110
done

0 commit comments

Comments
 (0)