Your message dated Mon, 12 Nov 2007 05:24:24 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#449592: fixed in mr 0.14
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mr
Version: 0.12
Severity: normal
Tags: patch


I'm trying out mr on a solaris machine, and running into bashisms in
mr's default configuration.

[EMAIL PROTECTED] ~]$ mr register 546
sh: syntax error at line 24: `delta=$' unexpected
mr register: unknown repository type

this occurs at line 1131 of mr (in the default configuration file
block)
delta=$(perl -wle 'print -f shift() ? int((-M _) * 24) : 9999' "$flagfile")

Here is a patch for various bashisms. It may not completely eliminate
all bashisms. In particular I only tried to fix the stuff I needed to work with 
svn.

--- bin/mr      (revision 4157)
+++ bin/mr      (working copy)
@@ -1128,7 +1128,7 @@
                if [ -z "$flagfile" ]; then
                        error "cannot determine flag filename"
                fi
-               delta=$(perl -wle 'print -f shift() ? int((-M _) * 24) : 9999' 
"$flagfile")
+               delta=`perl -wle 'print -f shift() ? int((-M _) * 24) : 9999' 
"$flagfile"`
                if [ "$delta" -lt "$2" ]; then
                        exit 0
                else
@@ -1185,7 +1185,7 @@
 git_bare_log = git log "$@"
 
 svn_register =
-       url=$(LANG=C svn info . | grep -i ^URL: | cut -d ' ' -f 2)
+       url=`LANG=C svn info . | grep -i '^URL:' | cut -d ' ' -f 2`
        if [ -z "$url" ]; then
                error "cannot determine svn url"
        fi




--Ken

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1ken (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: mr
Source-Version: 0.14

We believe that the bug you reported is fixed in the latest version of
mr, which is due to be installed in the Debian FTP archive:

mr_0.14.dsc
  to pool/main/m/mr/mr_0.14.dsc
mr_0.14.tar.gz
  to pool/main/m/mr/mr_0.14.tar.gz
mr_0.14_all.deb
  to pool/main/m/mr/mr_0.14_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated mr package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 11 Nov 2007 01:10:18 -0500
Source: mr
Binary: mr
Architecture: source all
Version: 0.14
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 mr         - a Multiple Repository management tool
Closes: 449592
Changes: 
 mr (0.14) unstable; urgency=low
 .
   * Portability fixes for the non-POSIX shell of SunOS 5. Patch from Ken
     Bloom. Closes: #449592
   * Cut number of rcs tests run in half.
Files: 
 a6cf48c346a854c19d711f1eae54fe87 563 utils optional mr_0.14.dsc
 2579d84f8b3fcd4c7863897237b1a1fc 28642 utils optional mr_0.14.tar.gz
 d402d56cb213975207c31e85435bfd71 23682 utils optional mr_0.14_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHNpzZ2tp5zXiKP0wRAsbLAJ9XGj5fYuBhwsO6wzdNwhdfBskgTQCgqB2V
1JRNWimdk7wvE+nrMXG0/HU=
=agM3
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to