**Describe the bug**
In ubuntu (16.04 14.04)and many other Linux distribution, "sh" links to /bin/sh 
not /bin/bash. build-thirdparty.sh use source command which only exists in 
/bin/bash not /bin/sh. 
Run build-thirdparty.sh by sh fails and downlaod-thirdparty.sh:65 use sh to run 
download-thirdparty.sh.
Because both first line of download-thirdpaty.sh and  build-thirdparty.sh is 
"#!/bin/bash", the bash scripts can run directly without “sh".

**To Reproduce**
Steps to reproduce the behavior:
1. sh ./thirdparty/build-thirdparty.sh
2. See error:
thirdparty/build-thirdparty.sh: 41: thirdparty/build-thirdparty.sh: source: not 
found

**Expected behavior**
build third-party source

**Screenshots**
![image](https://user-images.githubusercontent.com/7948466/45747305-04d41b00-bc38-11e8-8f42-44ef79e00e2f.png)


**Desktop (please complete the following information):**
 - OS: Ubuntu
 - Version 16.04

**Additional context**
Add any other context about the problem here.


[ Full content available at: 
https://github.com/apache/incubator-doris/issues/231 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to