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

tag 382747 +pending
thanks

Thanks for the report and the fix. I've committed this to the upstream
repository (r427), and it will soon be uploaded when version 0.94 is
released.

Micah

Life is hard, and then you die. wrote:
> Package: backupninja
> Version: 0.9.4
> Severity: important
> Tags: patch
> 
> /usr/sbin/backupninja is using 'stat --printf=...'; unfortunately, --printf
> is not supported by the 'stat' from coreutils, which is what is used on many
> (most?) Linux distros (including debian etch, fedora, mandriva). Instead the
> option is called --format.
> 
> The attached patch changes this.
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.15-1-686
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> 
> Versions of packages backupninja depends on:
> ii  bash                      3.1-2          The GNU Bourne Again SHell
> ii  dialog                    1.0-20060221-1 Displays user-friendly dialog 
> boxe
> ii  mawk                      1.3.3-11       a pattern scanning and text 
> proces
> 
> backupninja recommends no packages.
> 
> -- no debconf information
> 
> 
> ------------------------------------------------------------------------
> 
> --- /usr/sbin/backupninja.orig        2006-08-12 17:26:06.000000000 -0700
> +++ /usr/sbin/backupninja     2006-08-12 18:20:23.000000000 -0700
> @@ -132,7 +132,7 @@
>  function check_perms() {
>     local file=$1
>     local perms
> -   perms=($(stat -L --printf='%a %g %G %u %U' $file))
> +   perms=($(stat -L --format='%a %g %G %u %U' $file))
>     local gperm=${perms[0]:1:1}
>     local wperm=${perms[0]:2:1}
>     local gid=${perms[1]}

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

iD8DBQFE30uR9n4qXRzy1ioRAoiDAKCgyf2+SMZhpzkQYMT1iuGCFyz/AgCgjdY/
M9ucuFtvni5lN/NyFW8bdEk=
=LAAR
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to