Commit f2fd690b authored by Adrien Dorsaz's avatar Adrien Dorsaz

To use Tie::iCal we have to let file unchanged.

parent e8c82f1d
......@@ -16,8 +16,9 @@ if [ -n $icsfile ] || [ -n $caldb ]; then
echo "Creating temporary copy of $icsfile with valid lines into db $caldb"
# Create a copy and remove X-MOZ-LASTACK lines that are not understood by Tie::iCal
grep -v X-MOZ-LASTACK "${icsfile}" >"${icsfile}.tmp"
# Normalize line endings to unix format (line feed only)
sed -e 's/\r$//g' "${icsfile}.tmp" >"${icsfile}-2.tmp"
# Normalize line endings to unix format (line feed only) (not needed ?)
#sed -e 's/\r$//g' "${icsfile}.tmp" >"${icsfile}-2.tmp"
cp ${icsfile}.tmp ${icsfile}-2.tmp;
echo "Processing file $icsfile"
perl ics2qtcal.pl -- "$verbose" --ical "${icsfile}-2.tmp" --qtopiadb "$caldb" --notesdirectory "./Annotator-tmp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment