Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
a4f2a7d2
Verified
Commit
a4f2a7d2
authored
Jun 26, 2019
by
Jan Alexander Steffens (heftig)
Browse files
archbuild: Also skip log files
parent
b232d6f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/archbuild/files/mkpkg
View file @
a4f2a7d2
...
...
@@ -150,7 +150,7 @@ build() {
repoadd
()
{
local
-a
files
files
=(
${
^pkgname
}
-[^-]##-[^-]##-
(
$1
|any
)
.pkg.tar
*
~
*
.sig
(
-om
[
1]
)
)
files
=(
${
^pkgname
}
-[^-]##-[^-]##-
(
$1
|any
)
.pkg.tar
*
~
*
.
(
sig
|log
)
(
-om
[
1]
)
)
files+
=(
${
^files
}
.sig
(
N
)
)
if
[[
-n
$repohost
]]
;
then
...
...
roles/archbuild/files/pkgdiffrepo
View file @
a4f2a7d2
...
...
@@ -28,7 +28,7 @@ eval $(bash -c '
reports
=()
for
arch
in
$arches
;
do
newfiles
=(
${
^pkgnames
}
-
${
version
}
-
${
arch
}
.pkg.tar
*
~
*
.sig
(
Nom[1]
)
)
newfiles
=(
${
^pkgnames
}
-
${
version
}
-
${
arch
}
.pkg.tar
*
~
*
.
(
sig
|log
)
(
Nom[1]
)
)
if
((
${#
newfiles
}
!=
${#
pkgnames
}
))
;
then
echo
>
&2
"Skipping arch
${
arch
}
, missing packages"
...
...
@@ -67,3 +67,5 @@ for tmp in $reports; do
elinks
$tmp
/report.html
-config-file
./usr/local/share/elinks-pkgdiffrepo.conf
rm
-rf
$tmp
done
# vim:set sw=2 et:
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment