From c110812963863d78990781c7717c0995c9f59c1e Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Tue, 23 Mar 2021 08:50:25 +0100 Subject: [PATCH] Do not build portable package on unix-like systems --- build-packages.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-packages.sh b/build-packages.sh index 6b82bb46..ca1fda21 100755 --- a/build-packages.sh +++ b/build-packages.sh @@ -237,5 +237,6 @@ else fi lite_copy_third_party_modules "$build_dir" lite_build_package "$build_dir" "$arch" -lite_build_package -portable "$build_dir" "$arch" - +if [[ ! ( "$OSTYPE" == "linux"* || "$OSTYPE" == "freebsd"* ) ]]; then + lite_build_package -portable "$build_dir" "$arch" +fi