From a87b2f5b34be1b129d89eb8308a54dc1d4c28d0f Mon Sep 17 00:00:00 2001 From: aceforeverd Date: Wed, 23 Oct 2024 16:31:32 +0800 Subject: [PATCH] fix: pack_zetasql.sh (#61) install command not defined for header file installation --- pack_zetasql.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pack_zetasql.sh b/pack_zetasql.sh index 44f8530e..d4dba2a7 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" }