]> granicus.if.org Git - postgis/commitdiff
fixed bug in automatic perl invokation
authorSandro Santilli <strk@keybit.net>
Thu, 5 Aug 2004 19:12:54 +0000 (19:12 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 5 Aug 2004 19:12:54 +0000 (19:12 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@664 b70326c6-7e19-0410-871a-916f4a2858ee

utils/postgis_restore.pl

index 54a75282f5e3bbe46754db4466116724df766fd0..c10cee700a21076bf8f0341a5b0b70d8624efde0 100644 (file)
@@ -18,7 +18,7 @@
 #        detect wheter or not they are from postgis
 #
 
-exec perl $0
+exec perl $0 $@
        if (0);
 
 (@ARGV == 3) || die "Usage: perl postgis_restore.pl <postgis.sql> <db> <dump>\nRestore a custom dump (pg_dump -Fc) of a postgis enabled database.\n";