From cdd4cd40b89ae653ebc2351c4168526bcc2f6154 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 28 Jan 2019 17:55:01 -0800 Subject: [PATCH] fix file --- upload_ics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 upload_ics diff --git a/upload_ics b/upload_ics old mode 100644 new mode 100755 index 559d442..f0169c4 --- a/upload_ics +++ b/upload_ics @@ -8,7 +8,7 @@ tempdir=$(mktemp -d) tempdir=$(readlink -f "$tempdir") trap "/bin/rm -f \"$tempdir\"/*.ics; rmdir \"$tempdir\"" QUIT INT EXIT -for ics in "$@"; do +for file in "$@"; do bevents=($(grep -n BEGIN:VEVENT "$file" | cut -d: -f1)) eevents=($(grep -n END:VEVENT "$file" | cut -d: -f1)) -- 2.39.2