Project

General

Profile

« Previous | Next » 

Revision 19

Changed xml2db and vegbank db to be owned by new user vegbank

View differences:

test
3 3

  
4 4
selfDir="$(dirname -- "$0")"
5 5

  
6
export host= user=postgres database=vegbank
7
if test -z "${password+_}"
8
then
9
    echo "Password can also be specified with: export password=..."
10
    read -s -p "Password for $user@$host: "; echo
11
    export password="$REPLY"
12
fi
6
export host=localhost user=vegbank password=vegbank database=vegbank
13 7

  
14 8
cd "$selfDir"
15 9
./xml2db <vb_plot_observation.xml

Also available in: Unified diff