Fix a bug not removing CREW_DEST_DIR/* before the preconfiguration

parent fbf9ffb5
...@@ -221,7 +221,7 @@ def build_and_preconfigure (target_dir) ...@@ -221,7 +221,7 @@ def build_and_preconfigure (target_dir)
@pkg.in_build = true @pkg.in_build = true
@pkg.build @pkg.build
@pkg.in_build = false @pkg.in_build = false
system "rm -rf", CREW_DEST_DIR + "/*" #wipe crew destdir system "rm -rf #{CREW_DEST_DIR}/*" #wipe crew destdir
puts "Preconfiguring package..." puts "Preconfiguring package..."
@pkg.install @pkg.install
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