summaryrefslogtreecommitdiff
path: root/src/rpc.main.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc.main.bash')
-rw-r--r--src/rpc.main.bash5
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
11our_main() 11our_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
29find_local_only_functions() 29find_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
36all_commands() 37all_commands()