Fix a bug not removing CREW_DEST_DIR/* before the preconfiguration

This commit is contained in:
Kazushi (Jam) Marukawa
2017-02-06 21:05:36 +09:00
parent fbf9ffb56b
commit cd71e4c22e

2
crew
View File

@@ -221,7 +221,7 @@ def build_and_preconfigure (target_dir)
@pkg.in_build = true
@pkg.build
@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..."
@pkg.install
end