Make sure the installed repo is in the right location

This commit is contained in:
Calen Pennington
2012-03-26 10:17:55 -04:00
parent 54eb8e4e87
commit ba148ee54f

View File

@@ -27,6 +27,7 @@ task :package do
"--exclude=.git",
"--exclude=**/*.pyc",
"--prefix=/opt/wwc/mitx-#{commit}",
"-C", "#{REPO_ROOT}",
"--depends=python-mysqldb",
"--depends=python-django",
"--depends=python-pip",
@@ -45,7 +46,7 @@ task :package do
"--version=0.1",
"--iteration=#{build_number}",
"-a", "all",
"#{REPO_ROOT}"]
"."]
system(*args) || raise("fpm failed to build the .deb")
end
end