Browse Source

Fix #2071 replacing /bin/sh with bash

On Ubuntu /bin/sh is dash by default, this can cause
generate_descriptor_proto.sh fail to execute.
Khing 9 năm trước cách đây
mục cha
commit
f9fc56c42a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      generate_descriptor_proto.sh

+ 1 - 1
generate_descriptor_proto.sh

@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 
 
 # Run this script to regenerate descriptor.pb.{h,cc} after the protocol
 # Run this script to regenerate descriptor.pb.{h,cc} after the protocol
 # compiler changes.  Since these files are compiled into the protocol compiler
 # compiler changes.  Since these files are compiled into the protocol compiler