]> git.donarmstrong.com Git - bin.git/commitdiff
fix file
authorDon Armstrong <don@donarmstrong.com>
Tue, 29 Jan 2019 01:55:01 +0000 (17:55 -0800)
committerDon Armstrong <don@donarmstrong.com>
Tue, 29 Jan 2019 01:55:01 +0000 (17:55 -0800)
upload_ics [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 559d442..f0169c4
@@ -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))