]> git.pld-linux.org Git - packages/amanda.git/blame - amanda-bashizm.patch
- up to 2.6.0p1
[packages/amanda.git] / amanda-bashizm.patch
CommitLineData
b1d5b2b9
JR
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 @@
cb35b8e1
JR
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
b1d5b2b9
JR
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 ;;
c9fd2c11
JR
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>'` \
f78e162c
JR
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.026535 seconds and 4 git commands to generate.