Bug 12212

Summary: rarian-compat script scollkeeper-config doesn't output omf directory
Product: Rarian Reporter: Don Scorgie <Don>
Component: GeneralAssignee: Don Scorgie <Don>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: mbarnes
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 12247    
Bug Blocks:    

Description Don Scorgie 2007-08-29 10:40:58 UTC
From Google Code Site:

qv. https://bugzilla.redhat.com/show_bug.cgi?id=254301

What steps will reproduce the problem?
1. run either "rarian-sk-config --omfdir"
2. or "scrollkeeper-config --omfdir"
3.

What is the expected output?

/usr/share/omf

What do you see instead?

no output.

What version of the product are you using? On what operating system?

rarian-compat-0.5.8-1 on Fedora 8 development branch

Please provide any additional information below.

Patch to revert to more scrollkeeper-ish behaviour from svn for
rarian-sk-config.in as follows:

Index: util/rarian-sk-config.in
===================================================================
--- util/rarian-sk-config.in	(revision 30)
+++ util/rarian-sk-config.in	(working copy)
@@ -60,10 +60,7 @@
 		echo $datadir/librarian
 		;;
 	--omfdir )
-		for x in $(grep -e '^0:@:' $statedir/rarian-update-mtimes > /dev/null 2>&1)
-		do
-			echo ${x##0:@:}
-		done
+		echo $datadir/omf
 		;;
 	* )
 		print_help

==============patch ends===============
Comment 1 Don Scorgie 2007-08-29 10:43:38 UTC
Anyway, patch looks good and sensible.  I'll commit as soon as I get SVN access back.
Comment 2 Matthew Barnes 2007-08-30 09:10:45 UTC
This was also reported downstream [1], along with a patch.  The patch was just intended to get things working again, and may not be the right solution.

[1] http://bugzilla.redhat.com/show_bug.cgi?id=254301
Comment 3 Matthew Barnes 2007-08-30 09:16:20 UTC
Oops, sorry.  Didn't notice the comments below the entry box.  I'm used to GNOME's Bugzilla.
Comment 4 Don Scorgie 2007-09-12 11:35:26 UTC
Fixed in 0.6.0.  Not committed to SVN due to bug #12247.  Marking this as a
dependance to remind me to commit when done.
Comment 5 Don Scorgie 2007-09-16 08:49:56 UTC
Committed.  Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.