[Bug 223724] Review Request: fvwm - window manager

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 14 09:15:52 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: fvwm - window manager


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





------- Additional Comments From pertusus at free.fr  2007-03-14 05:15 EST -------
Indeed with use strict it doesn't compile. What I used in 
texi2html is the following snippet:

if ('@datarootdir@' ne '@' . 'datarootdir@')
{
    $datarootdir = eval '"@datarootdir@"';
}
else
{
    $datarootdir = "/usr/local/share";
}

The else could also be $datarootdir = ''; or $datarootdir = undef;

The aim is different, it is to allow to run an unconfigured script.


Anyway in the case of the fvwm package it seems to me that a 'simple' 
sed substitution would be best, along

find . -name '*.in' -prune -o \( -type f -a -exec sed -i -e
's:@datarootdir@:%{_datadir}:' {} \; \)



-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the package-review mailing list