Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Thomas Orgis (8fc6f9aa9f9d6de996cca724e4a6abbd7d916ea4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (8fc6f9aa9f9d6de996cca724e4a6abbd7d916ea4)
  • Date: Wed, 30 Sep 2020 11:15:17 +0000

GIT changes to master grimoire by Thomas Orgis <sobukus AT sourcemage.org>:

ChangeLog | 3 +++
la_remove_up_trigger.function | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 8fc6f9aa9f9d6de996cca724e4a6abbd7d916ea4
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

la_remove_up_trigger.function: fine-tuning to catch all and none

All dependants need to be scrutinized, not just first order. Also,
the grep in .la files needs to be avoided in case there are none.

diff --git a/ChangeLog b/ChangeLog
index 811b659..715978a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
* rust-crates/FUNCTIONS: use .cargo as local cargo home, as
that matches the default $HOME/.cargo; needs to stay that
way for offline build of cbindgen to work
+ * la_remove_up_trigger.function: Fine-tune to catch all
+ dependees, not only first level, and also silence if there
+ are none possibly affected.

2020-09-28 Treeve Jelbert <treeve AT sourcemage.org>
* kde5-extra/seexpr: added, Disney Animation's SeExpr for Krita
diff --git a/la_remove_up_trigger.function b/la_remove_up_trigger.function
index 3881f74..fe80805 100755
--- a/la_remove_up_trigger.function
+++ b/la_remove_up_trigger.function
@@ -19,13 +19,13 @@ la_remove_up_trigger()
if [[ $force_all -gt 0 ]]; then
check_spells=$(gaze installed | cut -d: -f1)
else
- check_spells=$(show_up_depends $SPELL 1)
+ check_spells=$(show_up_depends $SPELL)
fi
for other_spell in $check_spells
do
[[ $SPELL != $other_spell ]] || continue
match_count=$( gaze install "$other_spell" | grep '\.la$' \
- | xargs grep $la_match | wc -l )
+ | xargs -r grep $la_match | wc -l )
[[ "$match_count" -gt 0 ]] && up_trigger "$other_spell" cast_self
done
true



  • [SM-Commit] GIT changes to master grimoire by Thomas Orgis (8fc6f9aa9f9d6de996cca724e4a6abbd7d916ea4), Thomas Orgis, 09/30/2020

Archive powered by MHonArc 2.6.24.

Top of Page