Skip to content

Commit

Permalink
use boost tar on linux too
Browse files Browse the repository at this point in the history
Avoids a groovy "ZipSlip" invalid filename unpacking error

Do we need the zip anywhere?
  • Loading branch information
aconverse committed Sep 13, 2023
1 parent 5c31c19 commit b98974f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def thirdPartyNdkDir = new File("$buildDir/third-party-ndk")
def reactNativeRootDir = projectDir.parent

// NOTE(flewp): We want CI machines to also expand a tarball instead of a zip.
def needsBoostTar = Os.isFamily(Os.FAMILY_MAC) || System.getenv("CI")
def needsBoostTar = Os.isFamily(Os.FAMILY_MAC) || Os.isFamily(Os.FAMILY_UNIX) || System.getenv("CI")
def boostExtension = needsBoostTar ? ".tar.gz" : ".zip"

// We put the publishing version from gradle.properties inside ext. so other
Expand Down

0 comments on commit b98974f

Please sign in to comment.