From ce7b0915cc8015ed9e714483735671a919ffe3ab Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sat, 26 Aug 2017 09:08:22 +0900 Subject: [PATCH] Change crew to perform postinstall in dest_dir to avoid confusions between source build and binary distribution. --- crew | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crew b/crew index e3141f5f2..c2c1db993 100755 --- a/crew +++ b/crew @@ -424,8 +424,8 @@ def build_and_preconfigure (target_dir) end end -def post_install (target_dir) - Dir.chdir target_dir do +def post_install (dest_dir) + Dir.chdir dest_dir do puts "Performing post-install..." @pkg.postinstall end @@ -617,7 +617,7 @@ def install install_package dest_dir # perform post-install process - post_install target_dir + post_install dest_dir end #add to installed packages