Project

General

Profile

« Previous | Next » 

Revision 957

map: Map standard DB names to original DB names on nimoy

View differences:

map
16 16
            test -n "${mysql_password+t}" || \
17 17
                . "$binDir/env_password" mysql_password "your MySQL"
18 18
            export in_user="$USER" in_password="$mysql_password"
19
            if test "$in_database" = SALVIAS; then in_database=salvias_plots
20
            elif test "$in_database" = NYBG; then in_database=bien2_staging
21
            fi
19 22
        else
20 23
            export in_user=bien in_password="$bien_password"
21 24
        fi
22 25
    fi
23 26
fi
24
test _"$out_database" = _vegbien && . "$binDir/vegbien_dest"
27
test "$out_database" = vegbien && . "$binDir/vegbien_dest"
25 28

  
26 29
"$binDir/map" "$@"

Also available in: Unified diff