Revision 274
Added by Aaron Marcuse-Kubitza about 13 years ago
map | ||
---|---|---|
2 | 2 |
# Runs map with BIEN defaults |
3 | 3 |
|
4 | 4 |
selfDir="$(dirname -- "$0")" |
5 |
utilDir="$selfDir/util"
|
|
5 |
binDir="$selfDir/bin"
|
|
6 | 6 |
|
7 | 7 |
shopt -s nullglob |
8 | 8 |
|
... | ... | |
14 | 14 |
if test -z "$in_user"; then |
15 | 15 |
if test _"$(hostname)" = _nimoy -a _"$in_engine" = _MySQL; then |
16 | 16 |
test -n "${mysql_password+t}" || \ |
17 |
. "$utilDir/env_password" mysql_password "your MySQL"
|
|
17 |
. "$binDir/env_password" mysql_password "your MySQL"
|
|
18 | 18 |
export in_user="$USER" in_password="$mysql_password" |
19 | 19 |
else |
20 | 20 |
export in_user=bien in_password="$bien_password" |
21 | 21 |
fi |
22 | 22 |
fi |
23 | 23 |
fi |
24 |
test _"$out_database" = _vegbien && . "$utilDir/vegbien_dest"
|
|
24 |
test _"$out_database" = _vegbien && . "$binDir/vegbien_dest"
|
|
25 | 25 |
|
26 |
"$utilDir/map" "$@" |
|
26 |
"$binDir/map" "$@" |
Also available in: Unified diff
Renamed util to bin