sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Ismael Luceno (0ee247389ee16d7521ba91af2a78370ed24cdcdb)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master sorcery by Ismael Luceno (0ee247389ee16d7521ba91af2a78370ed24cdcdb)
- Date: Tue, 6 Sep 2022 12:11:50 +0000
GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:
var/lib/sorcery/modules/libsecurity | 2 +-
var/lib/sorcery/modules/libsorcery | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 0ee247389ee16d7521ba91af2a78370ed24cdcdb
Author: Pavel Vinogradov <vin.public AT gmail.com>
Commit: Ismael Luceno <ismael AT sourcemage.org>
libsecurity, libsorcery: adapted for grep 3.8 (egrep -> grep -E)
diff --git a/var/lib/sorcery/modules/libsecurity
b/var/lib/sorcery/modules/libsecurity
index 628172c..de09b08 100755
--- a/var/lib/sorcery/modules/libsecurity
+++ b/var/lib/sorcery/modules/libsecurity
@@ -58,7 +58,7 @@ gaze_checkmd5() {
SOURCE="$(ls $SOURCE_CACHE/$SOURCE* 2> /dev/null | cut -d'/' -f 5 |
head -n 1)"
if [ "$SOURCE" ]
then
- if [[ -z $(echo ${SOURCE#$OLDSOURCE.} | egrep '^[0-9]{14}$') ]]
+ if [[ -z $(echo ${SOURCE#$OLDSOURCE.} | grep -E '^[0-9]{14}$') ]]
then
APPEND="FUZZ s/$OLDSOURCE/$SOURCE/ "
else
diff --git a/var/lib/sorcery/modules/libsorcery
b/var/lib/sorcery/modules/libsorcery
index f68d680..fc5ef96 100755
--- a/var/lib/sorcery/modules/libsorcery
+++ b/var/lib/sorcery/modules/libsorcery
@@ -883,7 +883,7 @@ unset_details() {
TEMP=${TEMP}${i}\\n
done
# not all SOURCE_* should be deleted (SOURCE_CACHE)
- VARS="$VARS $(echo -e $TEMP | egrep "^SOURCE[0-9]*(_URL|_GPG|_IGNORE)?$")"
+ VARS="$VARS $(echo -e $TEMP | grep -E
"^SOURCE[0-9]*(_URL|_GPG|_IGNORE)?$")"
unset $VARS
}
- [SM-Commit] GIT changes to master sorcery by Ismael Luceno (0ee247389ee16d7521ba91af2a78370ed24cdcdb), Ismael Luceno, 09/06/2022
Archive powered by MHonArc 2.6.24.