mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-12 15:33:23 -05:00
Allow spaces in Library Path
Changed Parsing of Library Path to allow spaces in Library Path
This commit is contained in:
parent
01fd561107
commit
30b4d24afc
@ -12,9 +12,9 @@ fi
|
|||||||
logfile=`awk '$1=="logfile"{print $3}' $conf_path`
|
logfile=`awk '$1=="logfile"{print $3}' $conf_path`
|
||||||
logfile="${logfile%\"}"
|
logfile="${logfile%\"}"
|
||||||
logfile="${logfile#\"}"
|
logfile="${logfile#\"}"
|
||||||
library_path=`awk '$1=="directories"{print $4}' $conf_path`
|
library_path=`awk '$1=="directories"{print}' $conf_path`
|
||||||
library_path="${library_path%\"}"
|
library_path="${library_path#*\"}"
|
||||||
library_path="${library_path#\"}"
|
library_path="${library_path%%\"*}"
|
||||||
|
|
||||||
if [ ! -f $logfile ]; then
|
if [ ! -f $logfile ]; then
|
||||||
echo "Error: Couldn't find logfile in $logfile"
|
echo "Error: Couldn't find logfile in $logfile"
|
||||||
|
Loading…
Reference in New Issue
Block a user