Skip to content

Commit

Permalink
fix(backup): one repo add should use absolute filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
adoyle-h committed Oct 5, 2024
1 parent 3218a99 commit 0fc7ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion one-cmds/backup
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ EOF
if [[ -d $path/.git ]]; then
url=$(git -C "$path" config --get remote.origin.url)
else
url=$(readlink "$path")
url=$(realpath "$path")
fi
echo "one repo add $url"
done
Expand Down

0 comments on commit 0fc7ba2

Please sign in to comment.