Changeset 3741 for sample

Show
Ignore:
Timestamp:
02/20/11 14:26:27 (15 months ago)
Author:
bbinet
Message:

use --quiet

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sample/trunk/geodata/create_database.bash.in

    r3740 r3741  
    2020    echo $${shapefile} 
    2121    if [[ -f $${dirname}/$${shapefile}.shp ]]; then 
    22         shp2pgsql -s 900913 -I -W UTF8 $${dirname}/$${shapefile}.shp public.$${shapefile} | psql -d $${dbname} 
     22        shp2pgsql -s 900913 -I -W UTF8 $${dirname}/$${shapefile}.shp public.$${shapefile} | psql --quiet -d $${dbname} 
    2323    fi 
    2424} 
     
    6262    exit 1 
    6363fi 
    64 psql -d $${dbname} < $postgis_sql 
    65 psql -d $${dbname} < $spatial_ref_sys_sql 
     64psql --quiet -d $${dbname} < $postgis_sql 
     65psql --quiet -d $${dbname} < $spatial_ref_sys_sql 
    6666 
    67 psql -c "GRANT ALL ON DATABASE \"$${dbname}\" TO \"$${dbuser}\";" 
    68 psql -d $${dbname} -c "GRANT ALL ON TABLE geometry_columns TO \"$${dbuser}\";" 
    69 psql -d $${dbname} -c "GRANT ALL ON TABLE spatial_ref_sys TO \"$${dbuser}\";" 
     67psql --quiet -c "GRANT ALL ON DATABASE \"$${dbname}\" TO \"$${dbuser}\";" 
     68psql --quiet -d $${dbname} -c "GRANT ALL ON TABLE geometry_columns TO \"$${dbuser}\";" 
     69psql --quiet -d $${dbname} -c "GRANT ALL ON TABLE spatial_ref_sys TO \"$${dbuser}\";" 
    7070 
    7171if [[ -n $${populate} ]]; then