Changeset 588 for trunk


Ignore:
Timestamp:
12/23/2011 15:27:55 (5 months ago)
Author:
blee
Message:

Quote the property value before returning it.

Fixes #137

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confmanlib.sh.in

    r587 r588  
    10011001        result="${metadata[${file}:${prop}]}" 
    10021002    else 
    1003         result=`@SVN@ propget "confman:${prop}" ${file}` 
     1003        result="`@SVN@ propget "confman:${prop}" ${file}`" 
    10041004        if [ -z "$result" ] ; then 
    10051005            file=`$readlink_cmd -m ${file}` 
    1006             result=`@SVN@ propget "confman:${prop}" ${file}` 
     1006            result="`@SVN@ propget "confman:${prop}" ${file}`" 
    10071007        fi 
    10081008    fi 
     
    11821182    echo "$file" 
    11831183    for prop in $(@SVN@ proplist $file | grep 'confman:' | sort) ; do 
    1184         echo -e "\t${prop#confman:}\t" $(@SVN@ propget $prop $file) 
     1184        echo -e "\t${prop#confman:}\t" "$(@SVN@ propget $prop $file)" 
    11851185    done 
    11861186    if [ -n "$1" ] ; then 
Note: See TracChangeset for help on using the changeset viewer.