sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (2c70b7a8015473859343f9200b5af014fb30a659)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (2c70b7a8015473859343f9200b5af014fb30a659)
- Date: Sat, 4 Nov 2023 04:42:23 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
crypto/libxcrypt/UP_TRIGGERS | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 2c70b7a8015473859343f9200b5af014fb30a659
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
crypto/libxcrypt: UP_TRIGGERS modifications to get rid of some silly
mistakes
just quick edits to eliminate some leftovers from prototype version,
reformatted
diff --git a/crypto/libxcrypt/UP_TRIGGERS b/crypto/libxcrypt/UP_TRIGGERS
index 8080c01..b4b1b49 100755
--- a/crypto/libxcrypt/UP_TRIGGERS
+++ b/crypto/libxcrypt/UP_TRIGGERS
@@ -1,19 +1,19 @@
. "$GRIMOIRE/FUNCTIONS" &&
check_libcrypt () {
- if readelf -d "$1" 2> /dev/null | grep -q "NEEDED.*libcrypt\.so\.1";
then
- local each="$(gaze install {} | head -q -n 1)" &&
- up_trigger $each cast_self
- fi
+ local lib="$1" &&
+ if readelf -d "${lib}" 2> /dev/null | grep -q "NEEDED.*libcrypt\.so\.1";
then
+ local each="$(gaze install "${lib}" | head -q -n 1)" &&
+ up_trigger $each cast_self
+ fi
}
if spell_ok glibc; then
local GLIBC_VERSION="$(installed_version glibc)" &&
if ! is_version_less "${GLIBC_VERSION}" "2.38"; then
-
if ! spell_ok $SPELL; then
- while IFS= read -d '' filename; do
- check_libcrypt "${filename}" </dev/null
- done < <(find /lib /iib64 /usr/lib -name *.so* -print0)
+ while IFS= read -d '' filename; do
+ check_libcrypt "${filename}" </dev/null
+ done < <(find /lib /iib64 /usr/lib -name *.so* -print0)
fi
fi
fi
- [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (2c70b7a8015473859343f9200b5af014fb30a659), Pavel Vinogradov, 11/04/2023
Archive powered by MHonArc 2.6.24.