components/xmlto/patches/xmlto.in.patch
changeset 1714 9074d725010f
equal deleted inserted replaced
1713:5fc3e2649c8e 1714:9074d725010f
       
     1 Fixes a warning of:
       
     2 
       
     3  /usr/bin/xmlto: line 325: local: can only be used in a function
       
     4 
       
     5 found by Alan Coopersmith during testing of xmlto with the X.org distribution.
       
     6 
       
     7 The change will be sent upstream.
       
     8 
       
     9 --- xmlto-0.0.25/xmlto.in.orig	2014-02-13 13:58:02.220260650 -0800
       
    10 +++ xmlto-0.0.25/xmlto.in	2014-02-13 14:03:39.275042953 -0800
       
    11 @@ -322,7 +322,7 @@
       
    12  	shift
       
    13  	;;
       
    14    --searchpath)
       
    15 -	local oldIFS="${IFS}"
       
    16 +	oldIFS="${IFS}"
       
    17  	IFS=":"
       
    18  	for asearchpath in "$2"; do
       
    19  	  # wrangle relative paths into absolute ones so that the user