summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-11-13 13:32:40 +0100
committerErich Eckner <git@eckner.net>2021-11-13 13:32:40 +0100
commitb431b1d1ae221459f51c7e11049fe64e6012d13a (patch)
tree7185a13aa323b2dca1304f721202508c424181e1
parentfb1f29242c2fdcc4d3e3d9c96e2a54a7424cf271 (diff)
downloadcarddav-alpine-converter-b431b1d1ae221459f51c7e11049fe64e6012d13a.tar.xz
alpine-to-carddav: make line variable local
-rwxr-xr-xalpine-to-carddav1
1 files changed, 1 insertions, 0 deletions
diff --git a/alpine-to-carddav b/alpine-to-carddav
index a0fe779..c9338fb 100755
--- a/alpine-to-carddav
+++ b/alpine-to-carddav
@@ -37,6 +37,7 @@ print_cnt() {
}
read_line() {
+ local line
read -r line
for key in "${alpine_keys[@]}"; do
eval "${1}${key}"'="${line%%'"$(printf '\t')"'*}"'