Browse Source

Update library script

Samuel W. Flint 9 months ago
parent
commit
4fbb430167
1 changed files with 2 additions and 2 deletions
  1. 2 2
      library

+ 2 - 2
library

@@ -134,7 +134,7 @@ function add_single {
            "${LIBRARY_FILE}"
     do_git add `basename "${LIBRARY_FILE}"`
     do_git commit -m "Added record for \"${TITLE}\""
-    library query -i --uniq -e "Title ~ \"${TITLE}" | less
+    library query -i --uniq -e "Title ~ \"${TITLE}\"" | less
 }
 # add-book ends here
 
@@ -168,7 +168,7 @@ function do_edit {
     shift
     VALUE=$1
     shift
-
+  
     TMPDIR=. recset -e "ID = ${ID}" \
           -f "${FIELD}" -S "${VALUE}" \
           "${LIBRARY_FILE}"