Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 14233] scribe index could also show <VERSION of grimoire

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 14233] scribe index could also show <VERSION of grimoire
  • Date: 3 Mar 2008 22:26:13 -0000

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





------- Additional Comments From hgr AT vabo.cz 2008-03-03 16:26 -------
$ scribe index

Codex Listing
-------------

[0] : secret : /var/lib/sorcery/codex/secret
[1] : games : /var/lib/sorcery/codex/games
[2] : xorg-modular : /var/lib/sorcery/codex/xorg-modular
[3] : test : /var/lib/sorcery/codex/test : 0.19-test
[4] : z-rejected : /var/lib/sorcery/codex/z-rejected
[5] : stable : /var/lib/sorcery/codex/stable : 0.18-0



--- scribe.ori 2008-02-04 22:13:25.000000000 +0100
+++ scribe 2008-03-03 23:57:32.000000000 +0100
@@ -409,7 +409,11 @@
#for each grimoire
let idx=0
for grimoire in $(codex_get_all_grimoires); do
- echo " [$idx] : `basename "$grimoire"` : $grimoire"
+ echo -n " [$idx] : `basename "$grimoire"` : $grimoire"
+ if grep "-" "$grimoire/VERSION" > /dev/null 2>&1 ; then
+ echo -n " :" `head -1 "$grimoire/VERSION"`
+ fi
+ echo
let idx+=1
done
echo ""



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




Archive powered by MHonArc 2.6.24.

Top of Page