Allow spaces in Library Path

Changed Parsing of Library Path to allow spaces in Library Path
This commit is contained in:
protree 2015-02-26 20:52:49 +01:00
parent 01fd561107
commit 30b4d24afc

View File

@ -12,9 +12,9 @@ fi
logfile=`awk '$1=="logfile"{print $3}' $conf_path`
logfile="${logfile%\"}"
logfile="${logfile#\"}"
library_path=`awk '$1=="directories"{print $4}' $conf_path`
library_path="${library_path%\"}"
library_path="${library_path#\"}"
library_path=`awk '$1=="directories"{print}' $conf_path`
library_path="${library_path#*\"}"
library_path="${library_path%%\"*}"
if [ ! -f $logfile ]; then
echo "Error: Couldn't find logfile in $logfile"