1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 23:38:06 +02:00

Remove dead code

This commit is contained in:
Shane Kilkelly 2020-06-11 14:16:12 +01:00
parent 34e225d89b
commit 2718455347

View file

@ -4,14 +4,6 @@ set -euo pipefail
RC_FILE="config/overleaf.rc"
# function rc_lookup() {
# local key="$1"
# grep -v '^#' "$RC_FILE" | # load the rc file, skip lines starting with '#'
# grep "^$key=" | # grep for lines starting with the key, followed by '='
# tail -n 1 | # select the last match
# cut -d '=' -f 2- # select everything after the first '=' on the line
# }
function __main__() {
# Load vars from the rc file, prefixed with 'RC_ '