Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Ismael Luceno (43e2cd7fbc6cccdcba4411f0f2309948fec37da1)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • 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 (43e2cd7fbc6cccdcba4411f0f2309948fec37da1)
  • Date: Fri, 25 Aug 2023 19:30:36 +0000

GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:

usr/lib/sorcery/cmd/sightsee | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 43e2cd7fbc6cccdcba4411f0f2309948fec37da1
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

sightsee: Use CODEX_ROOT

diff --git a/usr/lib/sorcery/cmd/sightsee b/usr/lib/sorcery/cmd/sightsee
index 6dcb238..8c6275f 100755
--- a/usr/lib/sorcery/cmd/sightsee
+++ b/usr/lib/sorcery/cmd/sightsee
@@ -1,6 +1,6 @@
#!/bin/sh
. /etc/sorcery/local/config
-codex=/var/lib/sorcery/codex
+. /etc/sorcery/roots
unset debug verbose paths

upstream_rel_get() {
@@ -32,7 +32,7 @@ while
exit
;;
(--codex)
- codex="$2"
+ CODEX_ROOT="$2"
shift 2
;;
(--debug)
@@ -57,14 +57,14 @@ do :
done

if [ $# = 0 ]; then
- paths="$codex"
+ paths="$CODEX_ROOT"
else
for i in "$@"; do
case "$i" in
(*/*) ;;
(*)
if ! [ -d "$i" ]; then
- j=$(find "$codex" -maxdepth 3 -name "$i" -type d -print -quit)
+ j=$(find "$CODEX_ROOT" -maxdepth 3 -name "$i" -type d -print -quit)
[ -d "$j" ] && i="$j"
fi
;;



  • [SM-Commit] GIT changes to master sorcery by Ismael Luceno (43e2cd7fbc6cccdcba4411f0f2309948fec37da1), Ismael Luceno, 08/25/2023

Archive powered by MHonArc 2.6.24.

Top of Page