Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to devel-sobukus-protection sorcery by Thomas Orgis (b4bd850a0a3db2380e174c47117e48ecb7164f9b)

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 devel-sobukus-protection sorcery by Thomas Orgis (b4bd850a0a3db2380e174c47117e48ecb7164f9b)
  • Date: Mon, 13 Nov 2023 08:19:01 +0000

GIT changes to devel-sobukus-protection sorcery by Thomas Orgis
<sobukus AT sourcemage.org>:

ChangeLog | 3 +++
usr/sbin/resurrect | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)

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

resurrect: fix for symlink on /var/cache/sorcery

diff --git a/ChangeLog b/ChangeLog
index 48bcb10..5d97b11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2023-11-13 Thomas Orgis
+ * resurrect: fix old version location if /var/cache/sorcery is a
symlink
+
2022-07-23 Ismael Luceno <ismael AT sourcemage.org>
* gaze: sreamlined show-spell-version functions

diff --git a/usr/sbin/resurrect b/usr/sbin/resurrect
index d9ed156..eb34a1b 100755
--- a/usr/sbin/resurrect
+++ b/usr/sbin/resurrect
@@ -84,7 +84,7 @@ do_resurrect() {
else
# find the available versions, regardless of compression
local version versions
- versions=$(find $INSTALL_CACHE -name "$spell-*-$HOST.*" -printf "%f\n" |
+ versions=$(find "$INSTALL_CACHE/" -name "$spell-*-$HOST.*" -printf
"%f\n" |
sed "s,^$spell-\(\S*\)-$HOST\.\S*$,\1," |
while read version; do
# we need to ignore other spells with similar names due to laxed
matching



  • [SM-Commit] GIT changes to devel-sobukus-protection sorcery by Thomas Orgis (b4bd850a0a3db2380e174c47117e48ecb7164f9b), Thomas Orgis, 11/13/2023

Archive powered by MHonArc 2.6.24.

Top of Page