diff --git a/pack_zetasql.sh b/pack_zetasql.sh index 44f8530ed..d4dba2a7c 100755 --- a/pack_zetasql.sh +++ b/pack_zetasql.sh @@ -98,6 +98,13 @@ install_gen_include_file() { local outfile outfile=$(echo "$file" | sed -e 's/^.*proto\///') + if [[ "$OSTYPE" == "linux-gnu"* ]] + then + INSTALL_BIN="install" + else + INSTALL_BIN="ginstall" + fi + ${INSTALL_BIN} -Dv "$file" "$PREFIX/include/$outfile" }