Completely rewrote tagmap generation
All checks were successful
the build was successful

Fixes #63
Fixes #591
This commit is contained in:
2019-03-07 23:34:10 +01:00
parent 072a679bcf
commit 4d1c76951d
8 changed files with 172 additions and 146 deletions

View File

@@ -8,9 +8,6 @@ if [ -z "$inc_arguments" ]; then
while [ "$#" -gt 0 ]; do
case "$1" in
--legacyglobs)
readonly legacyglobs=true
;;
-s|--statusdir|--status-dir)
[ "$#" -gt 0 ] && shift 1 && statusdir="$1"
;;
@@ -57,11 +54,6 @@ if [ -z "$inc_arguments" ]; then
[ "$#" -gt 0 ] && shift 1 && processor="$1"
[ "$#" -gt 0 ] && shift 1 && olang="$1"
;;
map_tags)
command="$1$command"
shift 1
break
;;
sourceglobs)
command="$1$command"
[ "$#" -gt 0 ] && shift 1 && sourcesfile="$1"
@@ -113,7 +105,6 @@ if [ -z "$inc_arguments" ]; then
sourceglobs) [ -z "$sourcesfile" ] && die "Missing .sources file" ;;
lang_sources) [ -z "$sourceglobfile" -o -z "$lang" ] && die "Need source globfile and language" ;;
cast_refglobs) [ -z "$globfile" -o -z "$reffile" ] && die "Need globfile and reffile" ;;
map_tags) true;;
wakeup_news) true;;
*help*) print_help; exit 0 ;;
*) die "Urecognised command or no command given" ;;