ALT Linux Bugzilla
– Attachment 668 Details for
Bug 5652
Handle single SRC.RPM's as well as entire directories
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
This patch allows processing of separate packages as well as entire directories
sisyphus_check.single_pkgs.patch (text/plain), 1.03 KB, created by
evseev
on 2004-12-15 09:15:00 MSK
(
hide
)
Description:
This patch allows processing of separate packages as well as entire directories
Filename:
MIME Type:
Creator:
evseev
Created:
2004-12-15 09:15:00 MSK
Size:
1.03 KB
patch
obsolete
>--- /usr/bin/sisyphus_check.orig 2004-07-15 23:45:35 +0400 >+++ /usr/bin/sisyphus_check 2004-12-09 01:40:20 +0300 >@@ -424,16 +424,22 @@ > # quick arg check. > local d > for d in "$@"; do >- [ -d "$d" ] || { FileError "$d: not a directory"; rc=1; continue; } >+ [ -d "$d" ] && continue >+ [ -f "$d" ] || { FileError "$d: not a directory nor regular file"; rc=1; continue; } >+ case "$d" in >+ *.src.rpm ) continue ;; >+ esac >+ FileError "$d: regular file but not source RPM"; rc=1; continue > done > [ $rc = 0 ] || return $rc > > init_check || Fatal "init_check failed." > > for d in "$@"; do >- [ -d "$d" ] || { FileError "$d: not a directory"; rc=1; continue; } >+ [ -d "$d" -o -f "$d" ] || { FileError "$d: not a directory nor regular file"; rc=1; continue; } > local f > for f in "$d"/*.rpm; do >+ [ -f "$d" ] && f="$d" > if [ ! -f "$f" ]; then > [ "$f" != "$d/*.rpm" ] || continue > FileError "not a regular file" "$f" >@@ -601,6 +607,8 @@ > rc=1 > [ -z "$fast_check" ] || continue > fi >+ >+ [ "$f" = "$d" ] && break > done > done >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 5652
:
668
|
803
|
807