Project

General

Profile

« Previous | Next » 

Revision 10442

bin/my2pg: added instructions for regenerating *.schema.sql whenever this script is changed

View differences:

bin/my2pg
4 4
# `--compatible=postgresql --add-locks=false --set-charset`
5 5
# Usage: self {input...|<input} >translated
6 6

  
7
if false; then #### whenever this script is changed:
8
(slash=/; for my in inputs/{.,}*/_MySQL/*.schema.sql; do
9
	pg="${my/_MySQL$slash/}"
10
	make "$pg"-remake
11
done)
12
fi ####
13

  
7 14
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"/../lib/sh/util.sh
8 15

  
9 16
sed \

Also available in: Unified diff