From 8c406df883b9d49abe134b4bd74afc102019df8e Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sun, 9 Feb 2014 02:35:11 -0800 Subject: [PATCH] Shift how rpm artifact is kept. --- bootstrap.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 6f6821b7..c4418fdc 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1010,17 +1010,16 @@ make_rpm () { if command_exists 'rpmbuild'; then if [ -f 'rpm.am' -o -d 'rpm' ]; then - mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} - mkdir -p ~/rpmbuild/RPMS/{i386,i486,i586,i686,noarch,athlon} - run_configure_if_required make_target 'dist-rpm' - mkdir artifacts - cp *gz *rpm artifacts - if $jenkins_build_environment; then - make_target 'clean' + mkdir artifacts + mv *gz *rpm artifacts + + make_target 'maintainer-clean' + mv artifacts/* . + rmdir artifacts fi fi -- 2.30.2