diff options
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/Manifest.gz | bin | 22552 -> 22550 bytes | |||
-rw-r--r-- | sys-fs/ncdu/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/ncdu/ncdu-2.2.2-r1.ebuild | 19 |
3 files changed, 7 insertions, 14 deletions
diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz Binary files differindex b1691ad723b4..6c8134469a0b 100644 --- a/sys-fs/Manifest.gz +++ b/sys-fs/Manifest.gz diff --git a/sys-fs/ncdu/Manifest b/sys-fs/ncdu/Manifest index 73d33f13e206..85e9cef8b906 100644 --- a/sys-fs/ncdu/Manifest +++ b/sys-fs/ncdu/Manifest @@ -4,5 +4,5 @@ DIST ncdu-1.18.tar.gz.asc 833 BLAKE2B 2695e3f2a26026f5fc56db3d2e0f15288fdff118e1 DIST ncdu-2.2.2.tar.gz 56096 BLAKE2B fca41e74e4eb2509496276aa964ecf6a20db860d0b1d6bab9a169d8d6c5c7c2d41f088241cf57c92d7cf51bb5d84642c2a3a6db99410e6332061e6d35efa94e6 SHA512 5742b4abca1168256b6a7afa24d25e709bc3b490181d85fc070ddce4aad9d41fa3acb5c5a63676d804d082918fdf2bf0c98a27d8d07a56abeef0574c1b598da6 DIST ncdu-2.2.2.tar.gz.asc 833 BLAKE2B 5c6e886853aefec7615774b0c10e4a873d4e51da6d4d66ebd78318a40e7ce1a1d98c948ffd30eaa473cf50f9529dfe150d5831744e62f6762ae471b1abcbc4bb SHA512 494b8e08e2b8a87b31db08c5dcbb922c181fcef188974def2ad5550de16b16b281bbd5d8e401327276a07af8bd5979bdc46f84fde10a7e8601f9559cf452a77c EBUILD ncdu-1.18.ebuild 683 BLAKE2B 5a8eecd8b29af30456f750b4ceaa245bc80d6c9557a05f7932c6e8d5c509258fcf8516e993579ca4a70d4708282529930b0ac34fce4158b801b7f5140b890d39 SHA512 5cc81a788760ee2d41c88b41a50371721f5abae91381fad55bc0ec6458f264b1f309ebf69beb80168570795747411007b243e640116e7f9543caf8b30134691b -EBUILD ncdu-2.2.2-r1.ebuild 3147 BLAKE2B 742dd09ee8afa30eefd451c4e477c92d230262053c899221cfc915d89b76b7eb12aa4eaa4a40cca4c7502d2c5f20d620b37077508c4d693cfeae3f576715b2ad SHA512 c876fa71eb6af9286118418942efb685c660b70d15f3e97113d13026794e0abc1b130efe63c14b61adf3dbb882661e461f05ef57bd65ce704c9f225d24ded189 +EBUILD ncdu-2.2.2-r1.ebuild 3062 BLAKE2B 0beef4dbb4fb0130f505caa272c808b95e7daf1c2c9b1f3bd13349b11cb6ea2b0502c45097170ca95a62ab6f057c70f352bf4bba6f843c95751345f5ca5fe23b SHA512 a324290740a67b141f545297615e3004893a8dc633d4ce2775c17d396622830ee4f62a1acae35d1d0db2cc1d3d597ff69c13dd6bf565931ffcabd74bcabc2e08 MISC metadata.xml 862 BLAKE2B aecbc2cfec9351b2be9087d297016826f9bea5f81ea690e480cbe0dce5c627f554875fb9db5b19f21373391ef4fb28c7cea3129d911e80b7be007a9a0a79ac0a SHA512 2c722040961b930791780f704edddd4cdf010df05e462a0d333f2fbf4966c0ecac08eef3b1e05baf34013c95a91cc79dc38ef5616e07ffcb4e386b8760f89683 diff --git a/sys-fs/ncdu/ncdu-2.2.2-r1.ebuild b/sys-fs/ncdu/ncdu-2.2.2-r1.ebuild index 74c745fa8f11..fde041c1e0f4 100644 --- a/sys-fs/ncdu/ncdu-2.2.2-r1.ebuild +++ b/sys-fs/ncdu/ncdu-2.2.2-r1.ebuild @@ -49,21 +49,14 @@ zig-set_EZIG() { return fi - local candidates candidate selected selected_ver + local candidate selected selected_ver ver - candidates=$(compgen -c zig-) - - for candidate in ${candidates}; do - if [[ ! ${candidate} =~ zig(-bin)?-([.0-9]+) ]]; then + for candidate in "${BROOT}"/usr/bin/zig-*; do + if [[ ! -L ${candidate} || ${candidate} != */zig?(-bin)-+([0-9.]) ]]; then continue fi - local ver - if (( ${#BASH_REMATCH[@]} == 3 )); then - ver="${BASH_REMATCH[2]}" - else - ver="${BASH_REMATCH[1]}" - fi + ver=${candidate##*-} if [[ -n ${EZIG_EXACT_VER} ]]; then ver_test "${ver}" -ne "${EZIG_EXACT_VER}" && continue @@ -96,11 +89,11 @@ zig-set_EZIG() { done if [[ -z ${selected} ]]; then - die "Could not find (suitable) zig installation in PATH" + die "Could not find (suitable) zig installation in ${BROOT}/usr/bin" fi export EZIG="${selected}" - export EZIG_VER="${ver}" + export EZIG_VER="${selected_ver}" } # Invoke zig with the optionally provided arguments. |