sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Thomas Orgis (d490f4030f8b8581cea6e7b3b4125179f0722c5b)
- 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 (d490f4030f8b8581cea6e7b3b4125179f0722c5b)
- Date: Wed, 18 Mar 2020 17:36:24 +0000
GIT changes to master sorcery by Thomas Orgis <sobukus AT sourcemage.org>:
var/lib/sorcery/modules/libtrack | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d490f4030f8b8581cea6e7b3b4125179f0722c5b
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
libtrack: fix find_cache for $INSTALL_CACHE being a symlink
Appending a / ensures that $INSTALL_CACHE is interpreted as
a directory, even if it is a symlink (for reasons, like mage
running out of space on / and redirecting the cache to another
already mounted partition. I do not see why we should require
a mount instead if linking. Preferences.
diff --git a/var/lib/sorcery/modules/libtrack
b/var/lib/sorcery/modules/libtrack
index 67f0651..3043116 100755
--- a/var/lib/sorcery/modules/libtrack
+++ b/var/lib/sorcery/modules/libtrack
@@ -365,7 +365,7 @@ find_cache() {
# use the first if more were found
local basename
smgl_basename "$filename" basename
- read real_name < <(find $INSTALL_CACHE -type f -name "$basename*")
+ read real_name < <(find $INSTALL_CACHE/ -type f -name "$basename*")
fi
[[ -z $real_name ]] && return 1
debug "libtrack" "$FUNCNAME found $real_name"
- [SM-Commit] GIT changes to master sorcery by Thomas Orgis (d490f4030f8b8581cea6e7b3b4125179f0722c5b), Thomas Orgis, 03/18/2020
Archive powered by MHonArc 2.6.24.