Skip to content

Commit

Permalink
quote some argument
Browse files Browse the repository at this point in the history
  • Loading branch information
trou committed Feb 10, 2021
1 parent 783fbfc commit eeebfba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/repush.sh
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function uuid_of_root_file {

for metadata_path in $matches_by_name; do

metadata="$(ssh -S remarkable-ssh root@"$SSH_ADDRESS" "cat $metadata_path")"
metadata="$(ssh -S remarkable-ssh root@"$SSH_ADDRESS" "cat \"$metadata_path\"")"

if echo "$metadata" | grep -qF '"parent": ""' && echo "$metadata" | grep -qF '"deleted": false'; then
RET_UUID="$(basename "$metadata_path" .metadata)"
Expand Down

0 comments on commit eeebfba

Please sign in to comment.