瀏覽代碼

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 年之前
父節點
當前提交
f9fc56c42a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 # compiler changes.  Since these files are compiled into the protocol compiler