File tree Expand file tree Collapse file tree 12 files changed +12
-12
lines changed
Expand file tree Collapse file tree 12 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55 pkgx=/usr/local/bin/pkgx
66else
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
99fi
1010
1111exec " $pkgx " +gnu.org/autoconf -- autoconf " $@ "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55 pkgx=/usr/local/bin/pkgx
66else
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
99fi
1010
1111exec " $pkgx " +gnu.org/automake -- automake " $@ "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55 pkgx=/usr/local/bin/pkgx
66else
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
99fi
1010
1111exec " $pkgx " +curl.se -- curl " $@ "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55 pkgx=/usr/local/bin/pkgx
66else
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
99fi
1010
1111exec " $pkgx " +git-scm.org -- git " $@ "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55 pkgx=/usr/local/bin/pkgx
66else
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
99fi
1010
1111exec " $pkgx " +gnu.org/coreutils -- install " $@ "
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [ -x /usr/local/bin/pkgx ]; then
1010 pkgx=/usr/local/bin/pkgx
1111else
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
1414fi
1515
1616exec " $pkgx " +gnu.org/libtool -- libtool " $@ "
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ elif [ -x /usr/local/bin/pkgx ]; then
77 pkgx=/usr/local/bin/pkgx
88else
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
1111fi
1212
1313exec " $pkgx " +gnu.org/make -- make " $@ "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55 pkgx=/usr/local/bin/pkgx
66else
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
99fi
1010
1111exec " $pkgx " +gnu.org/patch -- patch " $@ "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55 pkgx=/usr/local/bin/pkgx
66else
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
99fi
1010
1111exec " $pkgx " +perl.org -- perl " $@ "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [ -x /usr/local/bin/pkgx ]; then
55 pkgx=/usr/local/bin/pkgx
66else
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
99fi
1010
1111exec " $pkgx " +freedesktop.org/pkg-config pkg-config " $@ "
You can’t perform that action at this time.
0 commit comments