update travis-pecl
[m6w6/ext-pq] / scripts / gen_pq_type.sh
diff --git a/scripts/gen_pq_type.sh b/scripts/gen_pq_type.sh
new file mode 100755 (executable)
index 0000000..6920860
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+CWD=$(dirname $0)
+awk -f $CWD/php_pq_type.awk >$CWD/../php_pq_type.h \
+       <${1-/usr/include/postgresql}/server/catalog/pg_type.h