~sourcemage/sorcery

5631eecaa3b330545f646092c5bf621d9150f893 — Ismael Luceno 11 months ago d6dfa42
sightsee: Make file name matching case-insensitive
1 files changed, 1 insertions(+), 1 deletions(-)

M usr/lib/sorcery/cmd/sightsee
M usr/lib/sorcery/cmd/sightsee => usr/lib/sorcery/cmd/sightsee +1 -1
@@ 9,7 9,7 @@ upstream_rel_get() {
    (curl) curl -s "$1" ;;
    (*) wget -q -O- "$1" ;;
  esac | gawk -vdebug="$debug" -vfname="$2" '
	match($0, fname, V) {
	match(tolower($0), fname, V) {
		$0 = substr($0, RSTART, RLENGTH)
		if (debug)
			printf "D: matched `%s`\n", $0 >"/dev/stderr"