aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcopy-annotations-from-kobo4
1 files changed, 2 insertions, 2 deletions
diff --git a/copy-annotations-from-kobo b/copy-annotations-from-kobo
index 3e10275..29c1482 100755
--- a/copy-annotations-from-kobo
+++ b/copy-annotations-from-kobo
@@ -53,7 +53,7 @@ EOT
touch "$BASEFOLDER/$sdr/metadata.$extension.lua"
# Make sure it's not locked by git annex
- git annex unlock "$BASEFOLDER/$sdr/metadata.$extension.lua"
+ git -C $BASEFOLDER annex unlock "$sdr/metadata.$extension.lua"
# Update
silentSsh kobo >"$BASEFOLDER/$sdr/metadata.$extension.lua" <<EOF
@@ -61,5 +61,5 @@ EOT
EOF
# Stage
- git add "$REMOTE_BASE/$sdr/metadata.$extension.lua"
+ git -C $BASEFOLDER add "$sdr/metadata.$extension.lua"
done