Revision 8873
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/table.run | ||
---|---|---|
27 | 27 |
input_make () |
28 | 28 |
{ |
29 | 29 |
echo_func "$@" |
30 |
echo_run env make --directory="$top_dir"/.. "${@/#/$table/}"
|
|
30 |
env make --directory="$top_dir"/.. "${@/#/$table/}" |
|
31 | 31 |
} |
32 | 32 |
|
33 | 33 |
map_table () |
lib/runscripts/local.run | ||
---|---|---|
33 | 33 |
SET search_path TO "$schema", util; |
34 | 34 |
EOF |
35 | 35 |
cat)| |
36 |
echo_run env no_search_path=1 "$psql_cmd" --output /dev/fd/3 "$@" 3>&1 >&2
|
|
36 |
env no_search_path=1 "$psql_cmd" --output /dev/fd/3 "$@" 3>&1 >&2 |
|
37 | 37 |
} |
38 | 38 |
|
39 | 39 |
fi |
lib/util.sh | ||
---|---|---|
81 | 81 |
|
82 | 82 |
usage () { echo "Usage: $1" >&2; (exit 2); } |
83 | 83 |
|
84 |
fi # load new aliases |
|
85 |
if self_being_included; then |
|
86 |
|
|
84 | 87 |
#### strings |
85 | 88 |
|
86 | 89 |
sed_ere_flag="$(test "$(uname)" = Darwin && echo E || echo r)" |
87 | 90 |
|
88 |
sed () { echo_run env sed -"$sed_ere_flag" "$@";}
|
|
91 |
sed () { env sed -"$sed_ere_flag" "$@";} |
|
89 | 92 |
|
90 | 93 |
#### vars |
91 | 94 |
|
... | ... | |
134 | 137 |
make () |
135 | 138 |
{ |
136 | 139 |
echo_func "$@" |
137 |
echo_run env make --directory="$top_dir" "$@"
|
|
140 |
env make --directory="$top_dir" "$@" |
|
138 | 141 |
} |
139 | 142 |
|
140 | 143 |
if false; then ## usage: |
Also available in: Unified diff
*{.sh,run}: use just env instead of echo_run env now that env is an auto-echoing alias