Commit ba148ee5 by Calen Pennington

Make sure the installed repo is in the right location

parent 54eb8e4e
...@@ -27,6 +27,7 @@ task :package do ...@@ -27,6 +27,7 @@ task :package do
"--exclude=.git", "--exclude=.git",
"--exclude=**/*.pyc", "--exclude=**/*.pyc",
"--prefix=/opt/wwc/mitx-#{commit}", "--prefix=/opt/wwc/mitx-#{commit}",
"-C", "#{REPO_ROOT}",
"--depends=python-mysqldb", "--depends=python-mysqldb",
"--depends=python-django", "--depends=python-django",
"--depends=python-pip", "--depends=python-pip",
...@@ -45,7 +46,7 @@ task :package do ...@@ -45,7 +46,7 @@ task :package do
"--version=0.1", "--version=0.1",
"--iteration=#{build_number}", "--iteration=#{build_number}",
"-a", "all", "-a", "all",
"#{REPO_ROOT}"] "."]
system(*args) || raise("fpm failed to build the .deb") system(*args) || raise("fpm failed to build the .deb")
end end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment