소스 검색

Update library script

Samuel W. Flint 3 달 전
부모
커밋
4fbb430167
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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}"