Browse code

Merge "Only search the lib dir for rpc_backend"

Jenkins authored on 2013/05/14 05:37:27
Showing 1 changed files
... ...
@@ -30,7 +30,7 @@ function check_rpc_backend() {
30 30
     # that can be passed as arguments to is_service_enabled.
31 31
     # We check for a call to iniset_rpc_backend in these files, meaning
32 32
     # the service needs a backend.
33
-    rpc_candidates=$(grep -rl iniset_rpc_backend . | awk -F/ '{print $NF}')
33
+    rpc_candidates=$(grep -rl iniset_rpc_backend $TOP_DIR/lib/ | awk -F/ '{print $NF}')
34 34
     for c in ${rpc_candidates}; do
35 35
         if is_service_enabled $c; then
36 36
             rpc_needed=0