diff --git a/build-packages.sh b/build-packages.sh index ec64d1b9..3e35e137 100755 --- a/build-packages.sh +++ b/build-packages.sh @@ -219,5 +219,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