You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by xi...@apache.org on 2023/02/24 11:18:24 UTC

[brpc] branch master updated: Prefer to use env to find bash

This is an automated email from the ASF dual-hosted git repository.

xiaofeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new d6df0f15 Prefer to use env to find bash
d6df0f15 is described below

commit d6df0f156ad6bd8ec6722a3c3c15691607bb62e7
Author: Xiaofeng Wang <wa...@gmail.com>
AuthorDate: Fri Feb 24 19:14:25 2023 +0800

    Prefer to use env to find bash
    
    Close #2070
---
 example/multi_threaded_echo_fns_c++/run_servers | 2 +-
 tools/get_brpc_revision.sh                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/example/multi_threaded_echo_fns_c++/run_servers b/example/multi_threaded_echo_fns_c++/run_servers
index de1d18ce..ce488bf7 100755
--- a/example/multi_threaded_echo_fns_c++/run_servers
+++ b/example/multi_threaded_echo_fns_c++/run_servers
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Licensed to the Apache Software Foundation (ASF) under one
 # or more contributor license agreements.  See the NOTICE file
diff --git a/tools/get_brpc_revision.sh b/tools/get_brpc_revision.sh
index f1dd7c2c..568de2e2 100755
--- a/tools/get_brpc_revision.sh
+++ b/tools/get_brpc_revision.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org