cartodb-postgresql/util/create_upgrade.sh

10 lines
155 B
Bash
Raw Permalink Normal View History

2014-05-24 00:16:10 +08:00
#!/bin/sh
fromver=$1
ver=$2
input=cartodb--${ver}.sql
output=cartodb--${fromver}--${ver}.sql
cat ${input} | grep -v 'duplicated extension$' > ${output}