Skip to content

Commit 0a4e320

Browse files
committed
update libexec for pkgx^2
no longer produces `v*`.
1 parent 552d4b6 commit 0a4e320

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

libexec/autoconf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55
pkgx=/usr/local/bin/pkgx
66
else
77
# probs this is running in pkgx CI/CD
8-
pkgx="${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v*/bin/pkgx"
8+
pkgx="$(ls -d ${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v* | tail -1)/bin/pkgx
99
fi
1010
1111
exec "$pkgx" +gnu.org/autoconf -- autoconf "$@"

libexec/automake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55
pkgx=/usr/local/bin/pkgx
66
else
77
# probs this is running in pkgx CI/CD
8-
pkgx="${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v*/bin/pkgx"
8+
pkgx="$(ls -d ${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v* | tail -1)/bin/pkgx
99
fi
1010
1111
exec "$pkgx" +gnu.org/automake -- automake "$@"

libexec/curl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55
pkgx=/usr/local/bin/pkgx
66
else
77
# probs this is running in pkgx CI/CD
8-
pkgx="${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v*/bin/pkgx"
8+
pkgx="$(ls -d ${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v* | tail -1)/bin/pkgx
99
fi
1010
1111
exec "$pkgx" +curl.se -- curl "$@"

libexec/git

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55
pkgx=/usr/local/bin/pkgx
66
else
77
# probs this is running in pkgx CI/CD
8-
pkgx="${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v*/bin/pkgx"
8+
pkgx="$(ls -d ${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v* | tail -1)/bin/pkgx
99
fi
1010
1111
exec "$pkgx" +git-scm.org -- git "$@"

libexec/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55
pkgx=/usr/local/bin/pkgx
66
else
77
# probs this is running in pkgx CI/CD
8-
pkgx="${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v*/bin/pkgx"
8+
pkgx="$(ls -d ${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v* | tail -1)/bin/pkgx
99
fi
1010
1111
exec "$pkgx" +gnu.org/coreutils -- install "$@"

libexec/libtool

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [ -x /usr/local/bin/pkgx ]; then
1010
pkgx=/usr/local/bin/pkgx
1111
else
1212
# probs this is running in pkgx CI/CD
13-
pkgx="${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v*/bin/pkgx"
13+
pkgx="$(ls -d ${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v* | tail -1)/bin/pkgx
1414
fi
1515
1616
exec "$pkgx" +gnu.org/libtool -- libtool "$@"

libexec/make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ elif [ -x /usr/local/bin/pkgx ]; then
77
pkgx=/usr/local/bin/pkgx
88
else
99
# probs this is running in pkgx CI/CD
10-
pkgx="${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v*/bin/pkgx"
10+
pkgx="$(ls -d ${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v* | tail -1)/bin/pkgx
1111
fi
1212
1313
exec "$pkgx" +gnu.org/make -- make "$@"

libexec/patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55
pkgx=/usr/local/bin/pkgx
66
else
77
# probs this is running in pkgx CI/CD
8-
pkgx="${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v*/bin/pkgx"
8+
pkgx="$(ls -d ${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v* | tail -1)/bin/pkgx
99
fi
1010
1111
exec "$pkgx" +gnu.org/patch -- patch "$@"

libexec/perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55
pkgx=/usr/local/bin/pkgx
66
else
77
# probs this is running in pkgx CI/CD
8-
pkgx="${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v*/bin/pkgx"
8+
pkgx="$(ls -d ${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v* | tail -1)/bin/pkgx
99
fi
1010
1111
exec "$pkgx" +perl.org -- perl "$@"

libexec/pkg-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55
pkgx=/usr/local/bin/pkgx
66
else
77
# probs this is running in pkgx CI/CD
8-
pkgx="${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v*/bin/pkgx"
8+
pkgx="$(ls -d ${PKGX_DIR:-$HOME/.pkgx}/pkgx.sh/v* | tail -1)/bin/pkgx
99
fi
1010
1111
exec "$pkgx" +freedesktop.org/pkg-config pkg-config "$@"

0 commit comments

Comments
 (0)