Merge branch 'feature/cursor-async' of https://github.com/DaveRandom/pecl-database-pq
[m6w6/ext-pq] / gen_pq_type.sh
index 561dc0a..a0c49db 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/sh
 CWD=$(dirname $0)
 awk -f $CWD/php_pq_type.awk >$CWD/php_pq_type.h \
-       </usr/include/postgresql/server/catalog/pg_type.h
+       <${1-/usr/include/postgresql}/server/catalog/pg_type.h