projects
/
tools
/
obs-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39fc2cb
)
ignore unknown tags in rpmlist file
author
Ludwig Nussel
<ludwig.nussel@suse.de>
Mon, 3 May 2010 09:30:18 +0000
(11:30 +0200)
committer
Ludwig Nussel
<ludwig.nussel@suse.de>
Mon, 3 May 2010 09:33:01 +0000
(11:33 +0200)
init_buildsystem
patch
|
blob
|
history
diff --git
a/init_buildsystem
b/init_buildsystem
index
2ed6e7b
..
63e00f9
100755
(executable)
--- a/
init_buildsystem
+++ b/
init_buildsystem
@@
-565,6
+565,10
@@
else
echo "${SRC#*:}" > $BUILD_ROOT/.init_b_cache/rpms/${SRC%%:*}.id
continue
fi
+ if test "$PKG" != "${PKG%:}"; then
+ echo "Warning: ignoring unsupported tag '$PKG'" >&2
+ continue
+ fi
if [ "${SRC#/}" = "$SRC" ]; then
url="$SRC"
case "$url" in
@@
-572,7
+576,7
@@
else
downloadpkg "$url"
;;
*)
- echo "unsupported url: $url" >&2
+ echo "unsupported url
for '$PKG'
: $url" >&2
cleanup_and_exit 1
;;
esac