diff --git a/scripts/pairinghelper.sh b/scripts/pairinghelper.sh index 6c196823..c1d05d0d 100755 --- a/scripts/pairinghelper.sh +++ b/scripts/pairinghelper.sh @@ -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"