Fix package space name and Go command.

This commit is contained in:
Andrew Walsh 2023-11-26 20:43:30 -08:00
parent 587ece84f2
commit cc6a957930
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
package main package apt_query
import ( import (
"fmt" "fmt"

View file

@ -1,4 +1,4 @@
package main package apt_query
import ( import (
"bytes" "bytes"

2
lib.sh
View file

@ -103,7 +103,7 @@ function get_normalized_package_list {
| sed 's/[,\]/ /g; s/\s\+/ /g; s/^\s\+//g; s/\s\+$//g' \ | sed 's/[,\]/ /g; s/\s\+/ /g; s/^\s\+//g; s/\s\+$//g' \
| sort -t' ') | sort -t' ')
local script_dir="$(dirname -- "$(realpath -- "${0}")")" local script_dir="$(dirname -- "$(realpath -- "${0}")")"
go ${script_dir}/apt_query.go normalized-list ${packages} go run ${script_dir}/apt_query.go normalized-list ${packages}
} }
############################################################################### ###############################################################################