Skip to content

Commit 735fd36

Browse files
antonmesGreg Parker
authored andcommitted
[FreeBSD] Fix creation of installable .tar.gz package
1 parent e2183cc commit 735fd36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build-script-impl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3444,8 +3444,8 @@ function build_and_test_installable_package() {
34443444
with_pushd "${host_install_destdir}" \
34453445
call tar -c -z -f "${package_for_host}" "${TOOLCHAIN_PREFIX/#\/}"
34463446
else
3447-
# tar on OS X doesn't support --owner/--group.
3448-
if [[ "$(uname -s)" == "Darwin" ]] ; then
3447+
# BSD tar doesn't support --owner/--group.
3448+
if [[ "$(uname -s)" == "Darwin" || "$(uname -s)" == "FreeBSD" ]] ; then
34493449
with_pushd "${host_install_destdir}" \
34503450
tar -c -z -f "${package_for_host}" "${host_install_prefix/#\/}"
34513451
else

0 commit comments

Comments
 (0)