~sourcemage/sorcery

a1de57e4dbb3909db024a986e775d04710baed8c — Ismael Luceno 2 months ago fead07c
sightsee: Fix parsing of VERSION variable
1 files changed, 3 insertions(+), 1 deletions(-)

M usr/lib/sorcery/cmd/sightsee
M usr/lib/sorcery/cmd/sightsee => usr/lib/sorcery/cmd/sightsee +3 -1
@@ 74,7 74,9 @@ find "${paths[@]}" -name DETAILS -exec awk -vdebug="$debug" '
	}
	/^ *VERSION=/ {
		version = $0
		sub(/.*=/, "", version)
		sub(/[\t ]*[;#].*/, "", version)
		sub(/.*=["'\'']?/, "", version)
		sub(/["'\'']$/, "", version)
		if (watch_url != "") nextfile
	}
	/^# *Watch:/ {