cocoapods-ppbuild 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c59c7b5e4eefc21a4e85de95e4f82718513f13d05ef1d5a8876ce34ca1faf739
4
- data.tar.gz: a5ea62f74704f5255c0aeb4433ca3123ea563abdbdb2ce809f7fbbeed9b86982
3
+ metadata.gz: 5eed134c4ecd34aa82e1a32417b3e58c56148831952cc66c66aeb8c670674c62
4
+ data.tar.gz: 62a2a6aa9b00af679d0dd8e5dbe803c6f7b26c453f490e3323021e7f1c211a6c
5
5
  SHA512:
6
- metadata.gz: b492e99ca75955b879372faa13021f89fa9c52157b41a2c18dbf1ab02a66ec832414c0342378faf9fbe8fa2cafbc89c3211466bf1e05410fe84313b24b73985e
7
- data.tar.gz: 96e5bd0e42488750bb84c7550e3e43d87d7994a87f167e3904c4921e91380f3b0554c17ee3e1271a5f5b7c6facf17f554e3efe8dfb895311f8e2e35a20477890
6
+ metadata.gz: ae8b5ef66ef18ac899239d4e634c169b360bcbef0490cf3f0207fb2f77bfaa5be8b26bfa595467d95e4399e20abba1eda1ab0362d0e35eaf702e04e6ad324d71
7
+ data.tar.gz: 0c6c6b0cba73447d124d2e65b60c4648116c8a32bdb8d461962f5ab5854a948858e37e94808cfae092a005e64e9f79a72cb224d3d137afabd0a7333875cfb8cf
@@ -364,19 +364,17 @@ module Pod
364
364
  script = old_method.bind(self).()
365
365
  if not Pod::is_prebuild_stage
366
366
  patch = <<-SH.strip_heredoc
367
- #!/bin/sh
368
-
369
367
  # ---- this is added by cocoapods-ppbuild ---
370
- # Readlink cannot handle relative symlink well, so we override it to a new one
371
- # If the path isn't an absolute path, we add a realtive prefix.
372
- old_read_link=`which readlink`
368
+ # If -f appears anywhere, path is the last arg (handles readlink -f path, readlink -f -n path, readlink -n -f path).
373
369
  readlink () {
374
- path=`$old_read_link "$1"`;
375
- if [ $(echo "$path" | cut -c 1-1) = '/' ]; then
376
- echo $path;
377
- else
378
- echo "`dirname $1`/$path";
379
- fi
370
+ for _r_arg in "\$@"; do
371
+ if [ "\$_r_arg" = "-f" ]; then
372
+ for _r_arg in "\$@"; do _r_path="\$_r_arg"; done
373
+ [ -n "\$_r_path" ] && ruby -e "puts File.realpath(ARGV[0])" "\$_r_path"
374
+ return
375
+ fi
376
+ done
377
+ /usr/bin/readlink "\$@"
380
378
  }
381
379
  # ---
382
380
  SH
@@ -1,3 +1,3 @@
1
1
  module CocoapodsPpbuild
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-ppbuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - 彭懂
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-04 00:00:00.000000000 Z
11
+ date: 2026-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler