Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Thomas Orgis (6e5f1e1c38163323690f56c8379d4c5904d7c589)

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 sorcery by Thomas Orgis (6e5f1e1c38163323690f56c8379d4c5904d7c589)
  • Date: Mon, 13 Nov 2023 08:20:08 +0000

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

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

New commits:
commit 6e5f1e1c38163323690f56c8379d4c5904d7c589
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 e8fe142..383ea16 100755
--- a/usr/sbin/resurrect
+++ b/usr/sbin/resurrect
@@ -82,7 +82,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 master sorcery by Thomas Orgis (6e5f1e1c38163323690f56c8379d4c5904d7c589), Thomas Orgis, 11/13/2023

Archive powered by MHonArc 2.6.24.

Top of Page