Hi there,
I am very interested in using ticktick.sh. However, I am having a problem when running it on OpenWRT --> a distro that uses Busybox / ash (not bash).
I replaced the first line:
#!/usr/bin/env bash
to be:
#!/bin/sh
But when I try to run it, I get this:
# ./ticktick.sh
./ticktick.sh: line 332: syntax error: bad substitution
That is referring to this:
__tick_runtime_length() { echo $#; }
__tick_runtime_first() { echo ${!1}; }
__tick_runtime_last() { eval 'echo $'${!#}; }
__tick_runtime_pop() { eval unset ${!#}; }
Any ideas? Thanks!