Commit c253f55
authored
fix: force symlink dereference when using file command (#1880)
On macOS, the `file` command dereferences symbolic links by default
(`--dereference` implied). On Linux it's the opposite
(`--no-dereference` implied).
We want the dereference behavior on both, otherwise `file` outputs
`symbolic link to Versions/Current/MyFrameworkBinary` on Linux when
checking the file type of an iOS framework (we then fallback to the
`otool` command which fails).1 parent c126c63 commit c253f55
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments