]> git.pld-linux.org Git - packages/amanda.git/blob - amanda-bashizm.patch
- no need to regenerate libtool
[packages/amanda.git] / amanda-bashizm.patch
1 --- amanda-2.6.0/config/amanda/dumpers.m4~      2008-03-03 14:50:51.000000000 +0100
2 +++ amanda-2.6.0/config/amanda/dumpers.m4       2008-05-07 11:13:49.000000000 +0200
3 @@ -41,7 +41,7 @@
4         for gnutar_name in gtar gnutar tar; do
5             AC_PATH_PROGS(GNUTAR, $gnutar_name, , $LOCSYSPATH)
6             if test -n "$GNUTAR"; then
7 -             case "`\"$GNUTAR\" --version 2>&1`" in
8 +             case "`$GNUTAR --version 2>&1`" in
9                *GNU*tar* | *Free*paxutils* )
10                             # OK, it is GNU tar
11                             break
12 @@ -103,7 +103,7 @@
13        AC_PATH_PROG(SAMBA_CLIENT,smbclient,,$LOCSYSPATH)
14        smbversion=0
15        if test ! -z "$SAMBA_CLIENT"; then
16 -        case "`\"$SAMBA_CLIENT\" '\\\\not.a.host.name\\notashare' -U nosuchuser -N -Tx /dev/null 2>&1`" in
17 +        case "`$SAMBA_CLIENT '\\\\not.a.host.name\\notashare' -U nosuchuser -N -Tx /dev/null 2>&1`" in
18          *"Unknown host"*)
19                       smbversion=1
20                       ;;
21 --- amanda-2.6.0/changer-src/chg-zd-mtx.sh~     2008-05-14 17:36:20.000000000 +0200
22 +++ amanda-2.6.0/changer-src/chg-zd-mtx.sh      2008-05-15 15:03:59.000000000 +0200
23 @@ -797,7 +797,7 @@
24  max_drive_wait=${max_drive_wait:-'120'}                        # default: two minutes
25  
26  # check MT and MTX for sanity
27 -if test "${MTX:0:1}" = "/"; then
28 +if test "${MTX#/}" != "$MTX"; then
29      if ! test -f "${MTX}"; then
30         Exit 2 \
31             `_ '<none>'` \
32 --- amanda-2.6.0/server-src/amcleanup.sh~       2008-01-18 01:31:25.000000000 +0100
33 +++ amanda-2.6.0/server-src/amcleanup.sh        2008-05-21 13:45:10.000000000 +0200
34 @@ -75,7 +75,7 @@
35  #   after receiving SIGTERM,  if yes send SIGKILL  
36  #
37  
38 -function killpid() {
39 +killpid() {
40  
41  killPID=$1
42  SIGTERM=15
This page took 0.159562 seconds and 3 git commands to generate.