Compare commits

..

2 Commits

Author SHA1 Message Date
Junxuan Liao
fee1f6b226 Merge branch 'master' into 'master'
fix(makechrootpkg): add environmental variables to verifysource_args

Closes #197

See merge request archlinux/devtools!217
2025-07-30 21:24:34 +00:00
Liao Junxuan
15d920765a fix(makechrootpkg): add environmental variables to verifysource_args
This is useful for setting proxies for downloading files. Fixes #197.
2025-07-22 04:45:30 +00:00
4 changed files with 4 additions and 5 deletions

View File

@@ -150,7 +150,6 @@ _pkgctl_cmds=(
db
diff
issue
license
release
repo
search

View File

@@ -155,7 +155,7 @@ if (( ${#needsversioning[*]} )); then
if [[ ! -f "${file}" ]]; then
continue
fi
if ! git ls-files --error-unmatch "$file" >/dev/null; then
if ! git ls-files --error-unmatch "$file"; then
die "%s is not under version control" "$file"
fi
done

View File

@@ -188,13 +188,10 @@ path = [
"README.md",
"keys/**",
".SRCINFO",
".gitignore",
".nvchecker.toml",
"*.install",
"*.sysusers",
"*sysusers.conf",
"*.tmpfiles",
"*tmpfiles.conf",
"*.logrotate",
"*.pam",
"*.service",

View File

@@ -345,6 +345,9 @@ for arg in "${@:$OPTIND}"; do
-*A*) verifysource_args+=(-A) ;;&
-*R*|-*e*) keepbuilddir=1 ;;&
esac
if [[ $arg != -* && $arg == *=* ]]; then
verifysource_args+=("$arg")
fi
done
umask 0022