make hack/make-release-artifacts.sh work on Linux (#201)

This commit is contained in:
Riccardo M. Cefala 2019-03-27 15:54:56 +00:00 committed by Ahmet Alp Balkan
parent 0cccf586a4
commit a84331eda1
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,10 @@ print_autogenerated_warning() {
EOF
}
# define gsed as a function on Linux for compatibility
[ "$(uname -s)" == "Linux" ] && gsed() {
sed "$@"
}
read_manifests() {
local dir