diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-10 14:25:40 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-10 14:25:40 +0100 |
commit | c0ee9dabb895e9079a6367a823187f9e687c3e4a (patch) | |
tree | 0c06abb4063c099918e641be9106fb16ee2665a6 /scripts | |
parent | 8ddd4fb2e18e4ae996907a930aaedb5ceea1b78b (diff) | |
download | abrt-c0ee9dabb895e9079a6367a823187f9e687c3e4a.tar.gz abrt-c0ee9dabb895e9079a6367a823187f9e687c3e4a.tar.xz abrt-c0ee9dabb895e9079a6367a823187f9e687c3e4a.zip |
remove getSettings from most plugins (inherited one is ok)
Also move parse_release() to abrtlib, it's shared among
Bugzilla and Catcut.
Tested Bugzilla and Catcut, both work.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dbg_mkrpm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/dbg_mkrpm b/scripts/dbg_mkrpm index 28b040e5..e5f0fe97 100755 --- a/scripts/dbg_mkrpm +++ b/scripts/dbg_mkrpm @@ -23,5 +23,8 @@ rm -rf "$T" || exit gzip "abrt-$ABRTVER".tar || exit - -./dbg_rpmbuildlocal -bb abrt.spec 2>&1 | tee -a "$0.log" +# Less ugly way to pass exitcode (without bashisms)? +{ ./dbg_rpmbuildlocal -bb abrt.spec 2>&1; echo $? >"EXITCODE"; } | tee -a "$0.log" +ret=`cat EXITCODE` +rm EXITCODE +exit "$ret" |