]> git.donarmstrong.com Git - bin.git/blobdiff - upload_ics
fix file
[bin.git] / upload_ics
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))