diff options
author | Andrew Cady <d@jerkface.net> | 2023-08-25 16:54:07 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2023-08-25 16:54:07 -0400 |
commit | 1ed2f3f601b8a720b8c9cfd285bfc56a43670f2c (patch) | |
tree | 99b18b68f3ea1417bdbf4c5f80c5446977e185f6 /src/rpc.main.bash | |
parent | 6312004af0bc5d488e6dd1d6ec7744743138c649 (diff) |
WIP
Diffstat (limited to 'src/rpc.main.bash')
-rw-r--r-- | src/rpc.main.bash | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rpc.main.bash b/src/rpc.main.bash index b859509..9fba425 100644 --- a/src/rpc.main.bash +++ b/src/rpc.main.bash | |||
@@ -11,7 +11,7 @@ esac | |||
11 | our_main() | 11 | our_main() |
12 | { | 12 | { |
13 | REMOTE_DEST=localhost | 13 | REMOTE_DEST=localhost |
14 | main2 "$@" | 14 | # main2 "$@" |
15 | main1 "$@" | 15 | main1 "$@" |
16 | } | 16 | } |
17 | 17 | ||
@@ -28,9 +28,10 @@ main2() | |||
28 | 28 | ||
29 | find_local_only_functions() | 29 | find_local_only_functions() |
30 | { | 30 | { |
31 | remote_commands=($(remote_run_function all_commands | sort -u)) | ||
31 | intersection <(extract_words < "$BASH_SOURCE") \ | 32 | intersection <(extract_words < "$BASH_SOURCE") \ |
32 | <(difference <(all_commands) \ | 33 | <(difference <(all_commands) \ |
33 | <(remote_run_function all_commands)) | 34 | <(printf '%s\n' "${remote_commands[@]}")) |
34 | } | 35 | } |
35 | 36 | ||
36 | all_commands() | 37 | all_commands() |