SOURCES: amanda-bashizm.patch - more bashizm fixed

baggins baggins at pld-linux.org
Thu May 15 15:31:06 CEST 2008


Author: baggins                      Date: Thu May 15 13:31:06 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- more bashizm fixed

---- Files affected:
SOURCES:
   amanda-bashizm.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/amanda-bashizm.patch
diff -u SOURCES/amanda-bashizm.patch:1.2 SOURCES/amanda-bashizm.patch:1.3
--- SOURCES/amanda-bashizm.patch:1.2	Wed May  7 13:05:39 2008
+++ SOURCES/amanda-bashizm.patch	Thu May 15 15:31:00 2008
@@ -18,3 +18,14 @@
          *"Unknown host"*)
  		      smbversion=1
  		      ;;
+--- amanda-2.6.0/changer-src/chg-zd-mtx.sh~	2008-05-14 17:36:20.000000000 +0200
++++ amanda-2.6.0/changer-src/chg-zd-mtx.sh	2008-05-15 15:03:59.000000000 +0200
+@@ -797,7 +797,7 @@
+ max_drive_wait=${max_drive_wait:-'120'}			# default: two minutes
+ 
+ # check MT and MTX for sanity
+-if test "${MTX:0:1}" = "/"; then
++if test "${MTX#/}" != "$MTX"; then
+     if ! test -f "${MTX}"; then
+ 	Exit 2 \
+ 	    `_ '<none>'` \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/amanda-bashizm.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list