summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2014-10-04 10:42:02 +0200
committerRasmus Steinke <rasi@xssn.at>2014-10-04 10:42:02 +0200
commit640752a362e1c3552adee8029f2722822d96aae6 (patch)
treea09ecaa6c09479add7c85552b14238e20873baa1 /clerk
parent66794c6ad9241d4ac0ebd160ef2edac30bbee209 (diff)
downloadperl-app-clerk-640752a362e1c3552adee8029f2722822d96aae6.tar.gz
perl-app-clerk-640752a362e1c3552adee8029f2722822d96aae6.tar.xz
another artist fix for database
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk2
1 files changed, 1 insertions, 1 deletions
diff --git a/clerk b/clerk
index 267509a..8345f2a 100755
--- a/clerk
+++ b/clerk
@@ -164,7 +164,7 @@ updateDB () {
sqlite3 ../ratings.db < /usr/share/doc/clerk/create_rating.sql
fi
for line in *.ratings; do
- albumartist=$(grep "^albumartist=" "$line" | cut -d '=' -f2- )
+ albumartist=$(grep "^albumartist=" "$line" | cut -d '=' -f2-)
date=$(grep "^date=" "$line" | cut -d '=' -f2-)
album=$(grep "^album=" "$line" | cut -d '=' -f2-)
rating_split=$(grep "album_rating=" "$line" | cut -d "=" -f2)