Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix #2 rpm build rake task for nv_helpers.

  • Loading branch information...
commit 75245fef791a397a455ba52bca1556b2df760c36 1 parent 54b6889
@porcupie porcupie authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tasks/rpm.rake
View
4 lib/tasks/rpm.rake
@@ -1,7 +1,7 @@
# RedHat RPM tasks for rake
BUILD_VERSION = NvHelpers::VERSION
-BUILDROOT = '/var/tmp/nv_helpers-buildroot/'
+BUILDROOT = '/tmp/nv_helpers-buildroot/'
desc 'Build an etch client RPM on a Red Hat box'
task :redhat => [:redhatprep, :rpm]
@@ -47,7 +47,7 @@ task :rpm do
# Build the package
#
- system("rpmbuild", "-bb", "--buildroot #{BUILDROOT}", spec.path) or warn("rpm.rake: Unable to execute rpmbuild! ERROR: #{$?}")
+ system("rpmbuild -bb --buildroot #{BUILDROOT} #{spec.path}") or warn("rpm.rake: Unable to execute rpmbuild! ERROR: #{$?}")
#
# Cleanup
Please sign in to comment.
Something went wrong with that request. Please try again.