sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 4235] New: cast blocks when a tar.gz has already been downloaded.
- From: bugzilla-daemon AT metalab.unc.edu
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 4235] New: cast blocks when a tar.gz has already been downloaded.
- Date: Tue, 2 Sep 2003 13:37:25 -0400
http://bugs.sourcemage.org/show_bug.cgi?id=4235
Summary: cast blocks when a tar.gz has already been downloaded.
Product: Sorcery
Version: 1.x Series
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: benoit.papillault AT free.fr
In fact, in the /usr/sbin/cast file, show_downloading() waits for a file
$D_LOG to be created and next for the file $D_LOG.done.$SPELL.
However, in run_summon(), if the condition is false, the files $D_LOG is
never created, hence the script is blocked.
Here a patch (inline), which suppress the condition (since it's not
documented,
i think it's useless).
--- /usr/sbin/cast 2003-06-18 10:10:52.000000000 +0200
+++ work/image/usr/sbin/cast 2003-09-02 19:00:57.000000000 +0200
@@ -1024,17 +1024,17 @@
run_summon() {
- if [[ $COMPILE ]] ||
- [[ $FORCE_COMPILE ]] ||
- ! current_sources ||
- ! (spell_installed $SPELL || spell_held $SPELL)
- then
+# if [[ $COMPILE ]] ||
+# [[ $FORCE_COMPILE ]] ||
+# ! current_sources ||
+# ! (spell_installed $SPELL || spell_held $SPELL)
+# then
lock_file $D_LOG
( . summon $SPELL >> $D_LOG 2>&1 )
unlock_file $D_LOG
- fi
+# fi
#This is to notify show_downloading that it is done this source
touch "${D_LOG}.done.$SPELL"
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Sorcery-Bugs] [Bug 4235] New: cast blocks when a tar.gz has already been downloaded., bugzilla-daemon, 09/02/2003
Archive powered by MHonArc 2.6.24.