Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 15030] cast of svn versioned spell (mplayer) breaks at midnight

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 15030] cast of svn versioned spell (mplayer) breaks at midnight
  • Date: 29 Mar 2009 19:11:22 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15030


Bill Arnold <qwnsknight AT gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |qwnsknight AT gmail.com




--- Comment #1 from Bill Arnold <qwnsknight AT gmail.com> 2009-03-29 14:11:20
---
(In reply to comment #0)
> Now, the actual problem is that mplayer's DETAILS has that:
>
> VERSION=$(date +%Y%m%d)
>
> (when you do svn and autoupdate).
> DETAILS is sourced multiple times, obviously ... and gives a different
> version
> number after midnight, which can have various funny results.
> So we need to fix that number for the duration of one cast at least.
>
> Ideas?

How about something like:

VERSION=${VERSION:-`date +%Y%m%d`}

No initial call you will need to make sure VERSION is unset, well maybe this:

VERSION=${mpVERSION:=`date +%Y%m%d`}

solves the problem better? If that does not work then you have export after
initial call and unset appropriately before the cast is completely finished.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page