Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master quill by Jaka Kranjc (1256e11f8bfc8c0938403196e47571f144280469)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master quill by Jaka Kranjc (1256e11f8bfc8c0938403196e47571f144280469)
  • Date: Tue, 18 Sep 2007 11:41:25 -0500

GIT changes to master quill by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

usr/bin/quill | 6 +++---
var/lib/quill/ChangeLog | 4 ++++
var/lib/quill/modules/libcopy | 2 +-
var/lib/quill/modules/libcore | 4 ++--
var/lib/quill/version | 2 +-
5 files changed, 11 insertions(+), 7 deletions(-)

New commits:
commit 1256e11f8bfc8c0938403196e47571f144280469
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libcore, quill, libcopy: added QUILL_SUDO to the rest of the system calls

diff --git a/usr/bin/quill b/usr/bin/quill
index cd26c07..8746712 100755
--- a/usr/bin/quill
+++ b/usr/bin/quill
@@ -346,9 +346,9 @@ then
fi

if query "Do you want to cast -r? (possibly needed for multiversion
spells)" n; then
- cast -r $SPELL_NAME
+ $QUILL_SUDO -c "cast -r $SPELL_NAME"
else
- cast -c $SPELL_NAME
+ $QUILL_SUDO -c "cast -c $SPELL_NAME"
fi
;;
esac
@@ -528,7 +528,7 @@ else
quill_final_put_in_grimoire &&
if query "Do you want to *try* to cast the spell?" n
then
- cast $SPELL_NAME
+ $QUILL_SUDO -c "cast $SPELL_NAME"
fi
fi
if query "Do you want to put the spell into QUILL_GIT_DIR?" n
diff --git a/var/lib/quill/ChangeLog b/var/lib/quill/ChangeLog
index 242f44f..d5ebbb9 100644
--- a/var/lib/quill/ChangeLog
+++ b/var/lib/quill/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-18 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * libcore, quill, libcopy: added QUILL_SUDO to the rest of the system
calls
+ * version: 0.2.9-rc3
+
2007-09-14 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libcore: added a sanity check to quill_final_put_in_grimoire
* quill: source the site handlers from their new home
diff --git a/var/lib/quill/modules/libcopy b/var/lib/quill/modules/libcopy
index 4b96d92..164bb4d 100644
--- a/var/lib/quill/modules/libcopy
+++ b/var/lib/quill/modules/libcopy
@@ -210,7 +210,7 @@ function quill_final_put_in_grimoire() {
if [[ $1 != no ]]; then
echo
echo "Running scribe reindex on $quill_grim_name ..."
- scribe reindex $(basename $quill_grim_name)
+ $QUILL_SUDO -c "scribe reindex $(basename $quill_grim_name)"
fi
fi
}
diff --git a/var/lib/quill/modules/libcore b/var/lib/quill/modules/libcore
index e831414..5a5bb22 100644
--- a/var/lib/quill/modules/libcore
+++ b/var/lib/quill/modules/libcore
@@ -504,10 +504,10 @@ function summon_sources() {
if [[ -z $to_summon ]]; then
message "Nothing new to summon, all sources found."
else
- if ! summon -r <<< "$to_summon"; then
+ if ! $QUILL_SUDO -c "summon -r <<< \"$to_summon\""; then
error_msg "Summoning failed, aborting update!"
query "Do you want to edit DETAILS? (you can retry the update)" n &&
quill_edit DETAILS
- continue 2 || return 1
+ continue 2
fi
fi
echo
diff --git a/var/lib/quill/version b/var/lib/quill/version
index 7d463b5..d26a8e4 100644
--- a/var/lib/quill/version
+++ b/var/lib/quill/version
@@ -1 +1 @@
-0.2.9-rc2
+0.2.9-rc3



  • [SM-Commit] GIT changes to master quill by Jaka Kranjc (1256e11f8bfc8c0938403196e47571f144280469), Jaka Kranjc, 09/18/2007

Archive powered by MHonArc 2.6.24.

Top of Page