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

View file

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