Skip to content

Commit aeca968

Browse files
authored
patch macports to fetch newest revision first
1 parent 05bf7b5 commit aeca968

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/actions/osxcross/macports.patch

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,12 @@ index 3e87735..5c48e4e 100755
2424
"$CACHE/$file.rmd160" "$CACHE/$file" 1>/dev/null
2525

2626
if [ $? -ne 0 ]; then
27+
@@ -360,7 +362,7 @@ getPkgUrl()
28+
grep -o -E '"version":"[^"]+"' | \
29+
cut -d'"' -f4)
30+
31+
- pkgs=$(getFileStdout "$MIRROR/$pkgname/?C=M;O=A" | \
32+
+ pkgs=$(getFileStdout "$MIRROR/$pkgname/?C=M;O=D" | \
33+
grep -o -E 'href="([^"#]+)"' | \
34+
cut -d'"' -f2 | grep '.tbz2$' | uniq)
35+

0 commit comments

Comments
 (0)